Resolved

Pages with collapsed header

Ultra Theme started by iplahte Sep 15, 2016 10 replies
iplahte Sep 15, 2016 · 7:36 pm #4904

Hello, is there a (simple) way to force specific pages to always use a collapsed header?

Andrew Misplon Puro Sep 15, 2016 · 7:43 pm #4905

Hi 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 🙂

iplahte Sep 15, 2016 · 7:49 pm #4906

Sorry 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>

Andrew Misplon Puro Sep 15, 2016 · 8:15 pm #4907

Thanks for explaining. Tomorrow I’ll work a conditional wrapper for you so that pages can be excluded. Chat then 🙂

iplahte Sep 15, 2016 · 8:18 pm #4908

Thanks. 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.

Andrew Misplon Puro Sep 15, 2016 · 8:21 pm #4909

I 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?

iplahte Sep 15, 2016 · 8:27 pm #4910

Yes, I mean scaled.

iplahte Sep 16, 2016 · 10:32 am #4916

It 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..

iplahte Sep 16, 2016 · 12:13 pm #4917

We 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!

Andrew Misplon Puro Sep 16, 2016 · 12:23 pm #4920

Right, I’m back, give me a moment to catch up. With you in a sec.

Andrew Misplon Puro Sep 16, 2016 · 12:25 pm #4921

Cool, 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 🙂

11 posts