- This topic has 1 reply, 2 voices, and was last updated 4 years, 9 months ago by .
Viewing 2 posts - 1 through 2 (of 2 total)
Viewing 2 posts - 1 through 2 (of 2 total)
- You must be logged in to reply to this topic.
Home › Forums › All Other Themes › Add some code, how do I do this?
Hi there,
I want to add some code to my website.
I found on the internet that if I add this code: $(‘.site-nav’).slideUp() ;
to my website the menu on the mobile website will close automatically.
This is the complete line of code on that particular website: $(‘.main-nav > li ‘).click(function(){
$(‘.site-nav’).slideUp()
});
I assume on my website, www.pceerstehulp.com there would be a similar code line where I can add a line of code to close the menu automatically. Where can I find this code and how can I edit it?
TIA
Michiel
Hi,
Kindly go to assets >> complete.js >> line No 200 and add your code there.
Regards,
Brad
Do you want to activate WordPress plugins from the database? This term is new yet interesting to learn. And if you are looking for an […]
Image Gallery WordPress Plugins You’ve got stunning visuals, but WordPress’s built-in gallery block is too basic. It doesn’t let you do fancy layouts, lightboxes, or […]
Insert Headers and Footers Plugins When you need to add essential scripts—think Google Analytics, Facebook Pixel, or custom CSS—to your site, modifying theme files is […]