Site logo

Archived topic

Before header ads with fixed menus

13 replies · Started by Whelen Troy on May 30, 2017

Viewing posts 1–14 of 14

Hi,

I wanted to put ads before the header. And at the same time I wanted a fixed header.

I was able to accomplish this but with one problem.

When you scroll down the content, I wanted a fixed header but not the ads.

How do I make the ads disappear when I scroll down the content while maintaining the fixed header: logo and menus. Here's my site: juanmacau.com

thank you so much!

Hi Leo,

I removed the ads. I tried putting the codes on the before_header. It is also where I put the codes for fixed header. And it doesn't work. When I try to scroll down, the ads go with the header.

What code are you using for fixed header? I don't see the header being fixed?

Any reason why you are not using the sticky navigation? https://docs.generatepress.com/article/sticky-navigation/

If you use that then the content inserted in the before header hook won't show up in sticky navigation.

Hi Leo,

Wow! I didn't see this. It was because I failed to activate that Menu Plus option in my premium add-ons.

Anyway, I wanted to include the logo in that sticky header. How do I do that?

Thank you so much!

Hi Leo,

I went to Primary Navigation option but I can't find the Navigation Logo Position option. No progress still. Hope you can help me out.

Thanks!

Did you upload a Navigation Logo? Once there is an image uploaded the option should show.

Yes I did. You can check it out here: juanmacau.com

Hi Leo, here's the problem, I can't find this: 3. Set your Navigation Logo Position to Sticky + Static.. I can't find this option. Can you please tell me where to exactly look at?

Wait. I guess I found it. I needed to upload the logo on the Primary Navigation option. And not on the Header option. Thanks! I'm done. You've been very helpful.

Looks like your current logo is uploaded through Site Identity.

Is there currently an image uploaded in Customizer > Layout > Primary Navigation > Navigation Logo?

Glad you found it :)

This archived topic is closed to new replies.