Site logo

Archived topic

Page header content should not fixed while header is fixed

7 replies · Started by David on February 12, 2018

Viewing posts 1–8 of 8

Hello
I fixed site title or header using the following techniques.

In GP Hooks
Before Header
<div class="custom-fixed-header">

After Header
</div>

In CSS

.custom-fixed-header {
      position: fixed;
      top: 0;
      width: 100%;
      z-index: 2000;
}

.custom-fixed-header + * {
      padding-top: 120px;
}

I activated GP premium page header. It will also become fixed while on scroll. I don't want to fix page header content. How to exclude page header content while header is fixed?
Thank you.

Hi there,

Can you link us to the page in question?

You can edit the original post and use the private URL field.

Hi
Updated my site details on my previous reply's URL field.
Thank you.

Thank you.

No problem!

Should be fine as long as you have a navigation logo uploaded and the site title and tagline filled (and set to hidden)

This site is using the same idea :)

This archived topic is closed to new replies.