Hi, how can I hide the main navigation on forum pages? I have managed to do it for the main page but not the individual topics.
Hey amyteslin,
Thank you for the link to your site, I assume that what you mean is that on single topics you want to hide the main menu at the top in the header, but you want to show the topbar that says View Condition Reports
So for that please try this code in the General Styling > Quick CSS field or in the WordPress > Customize > Additional CSS field:
#top.bbpress.single-topic #header_main {
display: none;
}
.html_header_top.html_header_topbar_active.html_header_sticky.html_large #top.bbpress.single-topic #main {
padding-top: 0px;
}
After applying the css, please clear your browser cache and check.
This will work for /forums/topic/ice-climb-conditions/
Or you could use this css:
#top.bbpress #header_main {
display: none;
}
.html_header_top.html_header_topbar_active.html_header_sticky.html_large #top.bbpress #main {
padding-top: 0px;
}
and it will work for:
/forums/topic/ice-climb-conditions/
/forums/forum/conditions/
/forums/
I point this out because you said above that you had been able to address the main forum page but I could still see the header menu.
Best regards,
Mike
Perfect, thanks!
Hi,
Glad Mike could help! :)
For your information, you can take a look at Enfold documentation here – https://kriesi.at/documentation/enfold/
If you have any other questions or issues, feel free to start a new thread under Enfold sub forum and we will gladly try to help you :)
Enjoy the rest of your day!
Best regards,
Yigit