- 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
WordPress Store Locator Plugins Your website may look fantastic, but visitors still can’t find your store locations easily. That confusion equals friction, lost trust, and […]
WordPress Popup Plugins These spectacular popup plugins management systems are highly optimized for integration with any website authored by WordPress and suggest a really powerful […]
WordPress Plugins Mobile Responsive Options Your desktop site looks great but on a phone, everything breaks. Menus become hard to tap, fonts are too small, […]