Site logo

Archived topic

Hide/Show Navigation and Header

5 replies · Started by Don on December 14, 2015

Viewing posts 1–6 of 6

Hi Tom,

Just bought all add-ons, but I'd like to ask how to:

1. Show Primary Navigation only for logged-in users (Hidden for guest/logged-out users).
2. Hide Header for Logged-in users (Show only for guest/logged-out users).

I couldn't find the setting in customizer, also not found in the forum/knowledgebase. Maybe you could help by adding code in theme function.

Thanks
Don

Hi Don.

You can do this with some CSS.

.main-navigation,
.logged-in .site-header {
    display: none;
}

.logged-in .main-navigation {
    display: block;
}

Adding CSS: https://generatepress.com/knowledgebase/adding-css/

Let me know if you need more info :)

It works perfectly. Awesome !

Yes, I have the 3rd question. I'd like to disable responsive navigation on mobile. I want it to have the same look with desktop.

Thanks
Don

Hi Tom, I've tried that plugin but it disable for whole site. I only need to disable responsive design for the menu on primary navigation. Sorry, maybe I wasn't clear enough before.

Thanks
Don

This archived topic is closed to new replies.