-
Author
-
February 18, 2019 at 09:13 #218784aekormishinParticipant
Hello,
I wonder, if it is possible to hide certain pages of the primary menu bar from the unlogged users?
Looking forward to hearing from you.
Best regards,
Alexander
February 18, 2019 at 13:58 #218798LauraModeratorHello, yes, you could do this with css, i can create the code for you if you share the exact menu items you want to hide.
Or using this plugin https://wordpress.org/plugins/menu-items-visibility-control/
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
February 18, 2019 at 14:23 #218806aekormishinParticipantYes, I would like to hide “Stream”, “Members”, “Groups” and “Blog” from the unlogged users. If you could advice of the place where I should insert the CSS code, I would be grateful to you. Thanks. You have my website’s credentials.
February 19, 2019 at 22:34 #218877LauraModeratorHello, here it is, add to style.css of child theme.
Note that if you change the menu items the code needs to be updated because it uses the menu item IDCOPY CODEli#menu-item-13239 { display: none; } li#menu-item-13243 { display: none; } li#menu-item-13238 { display: none; } li#menu-item-13250 { display: none; } .logged-in li#menu-item-13239 { display: block !important; } .logged-in li#menu-item-13243 { display: block !important; } .logged-in li#menu-item-13238 { display: block !important; } .logged-in li#menu-item-13250 { display: block !important; }
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionLaura Solanes - Graphic Designer and Web Designer
Please be patient as I try to answer each topic as fast as i can.
If you like the theme or the support you've received please consider leaving us a review on Themeforest!
Always happy to help you 🙂
-
AuthorPosts
The forum ‘General questions’ is closed to new topics and replies.