- This topic has 10 replies, 2 voices, and was last updated 8 years, 2 months ago by Andrew Misplon.
Tagged: header
- AuthorPosts
- September 15, 2016 at 7:36 pm #4904
iplahteParticipantHello, is there a (simple) way to force specific pages to always use a collapsed header?
September 15, 2016 at 7:43 pm #4905
Andrew MisplonKeymasterHi iplahte
Thanks for posting. I’ll assist as soon as possible tomorrow morning (GMT+2). In the mean time, please, could you let me know what you mean by collapsed. Do you want to hide the header on certain pages? I’m sure I can solve this request. Chat further tomorrow. Thanks 🙂
September 15, 2016 at 7:49 pm #4906
iplahteParticipantSorry for being unclear, I mean that the header sticky-active parameter is always set for some pages.
<div class=”wrapper-sticky sticky-active” style=”display: ….</div>
September 15, 2016 at 8:15 pm #4907
Andrew MisplonKeymasterThanks for explaining. Tomorrow I’ll work a conditional wrapper for you so that pages can be excluded. Chat then 🙂
September 15, 2016 at 8:18 pm #4908
iplahteParticipantThanks. If you check http://www.onrelay.com you will see what I mean. We want the header to change size and behave as normal on the front page, but to be always minimized on the others.
September 15, 2016 at 8:21 pm #4909
Andrew MisplonKeymasterI might need a bit more info. Sticky means the header sticks to the top of the page after scroll. Scaled is the setting that makes the header smaller after scrolling, after it becomes sticky. Using these two terms, sticky and scaled do you think you could perhaps confirm the request?
September 15, 2016 at 8:27 pm #4910
iplahteParticipantYes, I mean scaled.
September 16, 2016 at 10:32 am #4916
iplahteParticipantIt nearly takes us there just opening the page with the tag <url>#content, it opens the page with the header initially scaled down, but then it automatically scales it up again after the page loads..
September 16, 2016 at 12:13 pm #4917
iplahteParticipantWe got the above to work exactly as desired when adding the WP Page scroll to id plugin and adding #content to all our menu links, so you can close the request. Thanks for help!
September 16, 2016 at 12:23 pm #4920
Andrew MisplonKeymasterRight, I’m back, give me a moment to catch up. With you in a sec.
September 16, 2016 at 12:25 pm #4921
Andrew MisplonKeymasterCool, if that’s working for you then that’s great. Let me know if you want to dive in. Sorry I wasn’t around earlier 🙂
- AuthorPosts
You must be logged in to reply to this topic.