Site logo

Archived topic

Sticky navigation height

9 replies · Started by Josu on March 28, 2017

Viewing posts 1–10 of 10

Hi, im using Generate Press without any header, just primary navigation (because i want my menu to show on the center, not on the floating on the right side).

Is there some way to have a height size of 60 for the primary navigation and 45 for the sticky navigation, so when i scroll down the menu would get smaller.

I´d like to be able to do that while keeping my primary navigation menu aligned on the center, is it possible?

Thank you

Hi there,

Are you able to provide a link to your site?

Thanks!

Hi, sorry, i just realized that its not possible to have a centered menu when you have a logo there, the size of the logo pushes the menu to the left... Is there any way to move the menu a little bit to the left so it will be still on center while having a logo on the left?

And about the sticky navigation size, i´d like to have a sticky navigation menu when you scroll down smaller than the normal one at the top of the page.

Hi, thanks for the help! this code worked to make the sticky navigation bar with a different size, i could make it smaller, however then the menu was showing more to the top of the sticky navigation bar, and the logo more down. They were not centered. So I decided im going to leave the height of the sticky navigation bar the same 60 pixels, not a big deal.

But what i would really like to do is to center the menu, when i put a logo, it automaticly pushes the menu little bit to the right. Is there some way to moove the menu some pixels to the left, so when i put a long logo, the menu it will still look on the center and not on the right side.

Thank you

Hi, thanks to Leo and Tom, i´ve added de CSS code and it worked just like i wanted. Thanks a lot really.

Glad we could help :)

This archived topic is closed to new replies.