Tagged: [L]
Hi!
What did you add in the avia.js file? Please walk us through your modifications including the PHP files.
Regards,
Ismael
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?
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
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
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
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