Tagged: 

Viewing 6 posts - 31 through 36 (of 36 total)
  • Author
    Posts
  • #1024019

    Hi!

    What did you add in the avia.js file? Please walk us through your modifications including the PHP files.

    Regards,
    Ismael

    #1024736

    HI Guys,

    while I´m putting my avia.js to the childtheme i sah a huge amount on Javascript errors? My Dreamweaver told me.
    Maybe we can ignore them?

    https://snag.gy/q610Ft.jpg

    #1024748

    Hi Ismael,
    My avia.js file isn’t modified.
    All my customisations are in my child theme.
    I only add length to the excerpt in the postslider and my style.css.
    I put my custom javascript code in the file “cadre.js.”
    Otherwise there is no more modifications.

    Best Regards

    #1025351

    Hi,

    @Underkult: Do you have a staging site? Please put your modifications in the avia.js file and then we’ll check the site again. What did you add in the includes > helper-main-menu.php file?

    Best regards,
    Ismael

    #1025432

    Hi Ismael,
    Sorry, I don’t have a staging site.
    I put my modification to Avia.js file at the line : 1557.
    I deleted The folder “includes”, It was some previous test I forget there.
    Best Regards

    #1025718

    Hi,

    I added the code in the latest version of the avia.js with a console.log to check if it’s working or not. It does work but I’m not sure what you’re trying to do with that script. It just adds the “html_av-framed-box” class attribute to the html tag on scroll and nothing else.

    
    	$(window).on( 'scroll', function() { 
    		ajout_carlito_func();
    	});
    
    	/* Ajout Carlito */
    	function ajout_carlito_func() {
    		console.log('carlito');
    		$("html").addClass("html_av-framed-box");
    	}

    Best regards,
    Ismael

Viewing 6 posts - 31 through 36 (of 36 total)
  • You must be logged in to reply to this topic.