Home › Forums › Support › Insert a class insive nav main-navigation This topic has 3 replies, 3 voices, and was last updated 5 years, 4 months ago by Leo. Viewing 4 posts - 1 through 4 (of 4 total) Author Posts December 22, 2020 at 11:28 am #1591092 jose How can I add a class inside nav.main-navigation. I am doing by js, but i want to do it by php (because by js, you can see how change the style) $("body:not(.slide-opened) .main-navigation").addClass("active"); December 22, 2020 at 1:19 pm #1591206 DavidStaff Customer Support Hi there, what is it you’re trying to do that needs an extra CSS Class. December 22, 2020 at 1:22 pm #1591209 jose Because i want a sticky navigation smooth, actually the generatepress sticky navigation hide on swipe down doesnt work well. When you take offsetY 0. The menu switch betweeen sticky-navigation and site-navigation and make a little lag. December 22, 2020 at 2:30 pm #1591265 LeoStaff Customer Support I’ve just answered your other topic so let’s just stick with that one for now. Thanks. Author Posts Viewing 4 posts - 1 through 4 (of 4 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In