- This topic has 10 replies, 3 voices, and was last updated 3 years, 3 months ago by
David.
-
AuthorPosts
-
July 5, 2022 at 6:00 am #2273637
Kostas
hi,
how can that be so difficult to have the logo to the left corner and the menu next to it and both are on top of a hero image?
Can you please advise in steps?July 5, 2022 at 6:58 am #2273688David
StaffCustomer SupportHi there,
If you want the Navigation aligned left then:
1. Customizer > Layout > Header and Enable the Navigation as Header
2. Customizer > Layout > Primary Navigation – set the Alignment left.3. Then use a Header Element to Merge the Navigation with the top of your content:
https://docs.generatepress.com/article/transparent-header-and-navigation/
July 6, 2022 at 12:24 am #2274478Kostas
hi,
thanks for the info.
what I want is the logο on the top left corner and theν the menu sitting right next to it on its right hand few pixels away, not on the far right top corner.
If i remember well i did this using a combination of hooks last time, but i was wondering if there is some more official/out of the box method.
thanksJuly 6, 2022 at 1:24 am #2274518Fernando Customer Support
Hi Kostas,
I see. Thank you for clarifying.
If you have to Primary Navigation location set to float right, can you try adding this CSS in Appearance > Customize > Additional CSS?:
nav#site-navigation { margin-left: 20px !important; }
This overrides the
margin-left
set, and moves the navigation nearer the logo.You may replace
20px
with your preferred value.Kindly let us know how it goes.
July 6, 2022 at 4:44 am #2274661Kostas
ok this worked thanks!
July 6, 2022 at 5:24 am #2274686Kostas
hi again,
please advise the best method to add text and buttons on top of my hero image section now.
I would like to use the block editor to style this layout as i wish.
I suppose i would have to create a Block hook and place it on top of my hero image right?
regardsJuly 6, 2022 at 5:58 am #2274733David
StaffCustomer SupportYou can use a Block Element – Page Hero:
https://docs.generatepress.com/article/block-element-page-hero/
When you set the Element Type to: Page Hero, it will provide a list of Templates, one of which has content on top of the image.
July 6, 2022 at 6:53 am #2274778Kostas
ok thnaks,
however now the hero image goes below the navigation. I need the navigation on top of the hero image via transparency.
I know i will find it at some point but i would like you to provide the official way in order to keep my notes and fix this workflow 🙂
thanksJuly 6, 2022 at 7:35 am #2274813David
StaffCustomer SupportSee step 3 here:
That Header Element you will create just to Merge the Site Header, and you can set its Display Rules to the
Entire Site
or to match the specific pages you want it applied to, including those with your Block Element Page Hero.July 8, 2022 at 9:55 am #2277354Kostas
ok David this worked thanks so much,
i need to study this workflow it was not so straight forward for me 🙂
regardsJuly 9, 2022 at 2:09 am #2277685David
StaffCustomer SupportGlad to be of help.
-
AuthorPosts
- You must be logged in to reply to this topic.