- This topic has 1 reply, 2 voices, and was last updated 4 years, 4 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
Have you tried using HubSpot’s limited functionalities? Then, it is time to migrate your HubSpot website to WordPress. WordPress provides many features, themes, Plugins, and […]
WordPress Migration to New Server From now on, you don’t need to worry about the WordPress migration to the new server. Because it looks complex, […]
Migration of e-Commerce Website If you have decided on the migration of e-commerce website, you are most probably already familiar with this. When you migrate […]