[Resolved] Before header ads with fixed menus

Home Forums Support [Resolved] Before header ads with fixed menus

Home Forums Support Before header ads with fixed menus

Viewing 14 posts - 1 through 14 (of 14 total)
  • Author
    Posts
  • #326006
    Whelen Troy

    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!

    #326141
    Leo
    Staff
    Customer Support

    Hi there,

    I don’t see the ad (with ad-block off) on that page currently?

    If you insert it using the before header hook then it shouldn’t show up in sticky navigation:
    http://demo.generatepress.com/hook-locations/
    https://docs.generatepress.com/article/hooks-overview/

    Let me know.

    #326446
    Whelen Troy

    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.

    #326454
    Leo
    Staff
    Customer Support

    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.

    #326477
    Whelen Troy

    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!

    #326627
    Leo
    Staff
    Customer Support
    #326920
    Whelen Troy

    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!

    #326923
    Leo
    Staff
    Customer Support

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

    #326928
    Whelen Troy

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

    #326932
    Leo
    Staff
    Customer Support

    Looks like you are wanting to use the navigation as header.

    Can you follow the steps here? https://docs.generatepress.com/article/navigation-logo/#navigation-as-header

    #326935
    Whelen Troy

    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?

    #326936
    Whelen Troy

    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.

    #326937
    Leo
    Staff
    Customer Support

    Looks like your current logo is uploaded through Site Identity.

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

    #326938
    Leo
    Staff
    Customer Support

    Glad you found it 🙂

Viewing 14 posts - 1 through 14 (of 14 total)
  • You must be logged in to reply to this topic.