- This topic has 7 replies, 3 voices, and was last updated 2 years, 4 months ago by Ying.
-
AuthorPosts
-
November 25, 2021 at 4:28 am #2021178Taner
Hello,
I’m trying to create a custom header using Generateblocks but can’t seem to work out how to do this.
I’ve checked out the elements section but couldn’t see an option to use block here.
I also tried creating blocks in the widgets top bar section by adding columns then adding content blocks but for some reason, all the columns are being squished together instead of using the full space of the top bar.
Please see the image of what I’m trying to create for my header.
I’m using the latest version of GeneratePress Pro
Any help would be appreciated.
TIA
November 25, 2021 at 5:03 am #2021227DavidStaffCustomer SupportHi there,
can you share a link to your site so i can see what you have so far ?
November 25, 2021 at 6:17 am #2021316TanerHi David,
Thank you for the reply, please find the link below:
http://demo.boltonsict.net/gp-pro-kb/I created the Top bar from the widgets section and the logo was added in the elements section.
Thanks
November 25, 2021 at 6:25 am #2021339DavidStaffCustomer SupportOK – simplest method would be to NOT use the Themes Top Bar by removing the Widgets and then build the entire top bar using a Block Element ( Hook set to
before_header
).Before doing that you would need to confirm that the Search and Google language switch are something you can add in the block editor? Are they something you have as a block or shortcode ?
November 25, 2021 at 9:57 am #2022048TanerHi David,
This is my first GeneratPress Pro site so please bare with me.
When I create a Hook element I still can’t see anywhere in the element to add my blocks?
Instead, I have tried creating a block element and set the element type as Site Header (hope this is the right way of doing it), I can now see the blocks I created in the element in the site header on the front end.
For some reason, the icon list appear extremely large, I’ve tried changing the layout and size in the icon list block but they don’t seem to affect the size on the front end.
http://demo.boltonsict.net/gp-pro-kb/Really appreciate your help.
Thanks
November 25, 2021 at 11:20 am #2022167YingStaffCustomer SupportHi Taner,
Not sure which icon list we should be looking at, the icons in your custom site header looks normal. https://www.screencast.com/t/oOeVwLf16UyK
Let me know 🙂
November 25, 2021 at 5:07 pm #2022466TanerHi Ying,
Thanks for your reply.
I’m sorry I ended up useing inline style fontawsome icons when I wasn’t able to change the list icon block sizes.
Can I ask you how I can hide a element row on mobile and tablet device?
Thank you
November 25, 2021 at 5:18 pm #2022481YingStaffCustomer SupportCan I ask you how I can hide a element row on mobile and tablet device?
GP has these built classes, you can add
hide-on-mobile
or/andhide-on-desktop
class to the element.For how to add the additional CSS class: https://wordpress.com/support/adding-additional-css-classes-to-blocks/
-
AuthorPosts
- You must be logged in to reply to this topic.