- This topic has 14 replies, 4 voices, and was last updated 4 months ago by
David.
-
AuthorPosts
-
March 31, 2022 at 3:30 am #2173355
Craig
Hi Guys
I would like to realign the header but cannot figure out how to do this.
I would like the logo centered and the burger bars sitting on the left side of the page.
Are you able to assist with this?
kind regards
Craig
March 31, 2022 at 9:29 am #2173791Leo
StaffCustomer SupportHi there,
Can you try setting the header alignment to center first?
https://docs.generatepress.com/article/header-layout/#header-alignmentThen I’ll provide the CSS to relocate the menu toggle.
Let me know π
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 31, 2022 at 10:52 am #2173878Craig
Hi Leo
The header alignment is and was set to center.
Thanks
March 31, 2022 at 10:55 am #2173882Leo
StaffCustomer SupportCan you disable the caching plugin first?
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 31, 2022 at 11:03 am #2173892Craig
I don’t have a specific caching plugin but maybe it’s Jetpack that’s causing issues. I have disabled that.
March 31, 2022 at 12:48 pm #2173980Leo
StaffCustomer SupportSo basically you want the static header to match the sticky header?
If so try activating the navigation as header option:
Then edit this CSS:
nav#sticky-navigation .navigation-branding { position: absolute; z-index: 10; left: 50%; transform: translateX(-50%); }
to this:
.main-navigation .navigation-branding { position: absolute; z-index: 10; left: 50%; transform: translateX(-50%); }
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/March 31, 2022 at 1:55 pm #2174010Craig
Thx Leo
That centers the logo. Halfway there. How do I get et the burger menu onto the left side of the page? With this, it is still on the right-hand side of the page.
Thanks again
March 31, 2022 at 1:56 pm #2174011Craig
Sorry Leo and when scrolling I need the stick menu to be fullscreen.
March 31, 2022 at 2:15 pm #2174025Ying
StaffCustomer SupportTo move the menu icon to the left, try this CSS:
.inside-navigation.grid-container { justify-content: flex-start; }
To make the sticky menu full width, go to customizer > layout > Primary Navigation, set the Navigation Width to
Full
.March 31, 2022 at 2:43 pm #2174046Craig
Thanks Guys you are awsome
March 31, 2022 at 3:15 pm #2174056Ying
StaffCustomer SupportThanks Craig π
You are welcome!April 5, 2022 at 4:07 am #2178480Craig
Hi Guys
At the moment the logo and menu are part of the Hero.
I would like the logo and menu to sit at the top, followed by the line banner(sign up), followed by the hero. I am struggling to achieve this.
Thank you
April 5, 2022 at 4:24 am #2178497David
StaffCustomer SupportHi there,
looks like you’re using a Header Element in Appearance > Elements to merge the Site Header and the hero.
Edit that Header Element, and on the Site Header tab uncheck the Merge with Content option.https://docs.generatepress.com/article/transparent-header-and-navigation/
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/April 5, 2022 at 4:37 am #2178505Craig
You really are my best π
Thank you
April 5, 2022 at 4:38 am #2178506David
StaffCustomer SupportGlad we could be of help
Documentation: http://docs.generatepress.com/
Adding CSS: http://docs.generatepress.com/article/adding-css/ -
AuthorPosts
- You must be logged in to reply to this topic.