- This topic has 1 reply, 2 voices, and was last updated 2 years, 2 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
Even though WordPress is the most popular and powerful CMS at present but one needs to be extremely careful while editing and making changes. A […]
Let’s face it, sometimes all you really want to do is focus on publishing your content and promoting your business. The thought of taking on […]
The speed of a website is a very important factor for SEO. For some websites, a single second can result to thousands of dollars gained […]