Viewing 6 replies - 1 through 6 (of 6 total)
  • I’ve installed the theme on my test site, and set “#athena-header” as the sticky item, and indeed I can see that there’s a gap at the top. This is because the theme already makes the menu sticky out of the box (and uses the gap to account for the spacing it needs), but then when you also use my plugin, it will do additional stuff to make it sticky in a different way.

    So although I’m not sure about your particular situation, I wouldn’t recommend to use my plugin to start with. Since the menu should be already sticky to begin with in this case, you won’t really need it.

    Please let me know if I misunderstand the issue!

    Thread Starter gmathieu

    (@gmathieu)

    Thank you so much for your quick answer and advise !

    You’re right. However, only the home page is sticky – not the other pages where it’s not sticky.

    You can see it there : http://athena.smartcatdev.wpengine.com/athena-pro-blog/

    I understand that there might be some parameter somewhere that could make these other pages sticky. But as a code-illiterate guy I would have liked to be able to use your plugin for all pages except home. It might be a little an orphan case, but I’d really like to make all pages sticky.

    Was it how you understood the issue ?

    OK, I think I see what you mean now! So you want to make the menu sticky on all pages except the home page, because it already IS sticky there. (Even though you say you want it just for pages and posts, I assume you also want it on archive pages, search results, etc?)

    So, to make the menu sticky on ALL pages in the site EXCEPT the home page, try entering this as the element in the plugin’s settings:

    body:not(.home) #athena-header

    Let me know if that answers your question! 🙂

    Thread Starter gmathieu

    (@gmathieu)

    You are awesome !

    It answer my question and solve my issue perfectly 🙂 Now I do have the native sticky menu for the home page and an added sticky menu everywhere else

    Thread Starter gmathieu

    (@gmathieu)

    Again, thank you for your kind and talented support

    You’re welcome! Thanks for using my plugin 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Sticky Menu only for Pages and Posts’ is closed to new replies.