- This topic has 40 replies, 4 voices, and was last updated 4 years, 9 months ago by
David.
-
AuthorPosts
-
July 11, 2021 at 9:50 am #1851947
Ying
StaffCustomer SupportHi Tina,
Seems the
header wrapwhich wraps the column block is gone.If I target the column block, the CSS might target the other column block as well.
Can you go to the column block and give it an additional CSS class
top-header-baras show in the screenshot below:
https://www.screencast.com/t/eTf153mtpzThen change the CSS to this:
.top-header-bar.wp-block-columns.alignfull.has-background { padding: 10px 10px; }Let me know 🙂
July 11, 2021 at 10:28 pm #1852325Tina
Hi Ying,
unfortunately, it didnt work. I added top-header-bar to the column as instructed + copy/paste the new code inside Customize/ Additional CSS. Nothing happenedI also delete my top header bar and started from scratch which didnt work either
another thing is that the top header adds empty spaces below
indeed, There is a gap of 50 px between the header and the top header bar that shows when i create the header bar and disappears when i delete it.
Thank you
July 11, 2021 at 10:39 pm #1852332Tina
e
July 11, 2021 at 10:41 pm #1852334Tina
Hi Leo, thank you for your reply.
The black bar is not part of a design i am trying to achieve. Its actually empty space between my top hear bar and my header.
Its black because i colored my background black.
I want to get rid of that empty space and I would appreciate your help.
I think it might have to do with the addition of the top header bar…
Thank you
*Also, to answer your question, i was able to upload Generateblocks but i want to use it to create my Blog page only.
July 11, 2021 at 10:43 pm #1852337Tina
X
July 12, 2021 at 9:35 am #1853122Ying
StaffCustomer SupportHi Tina,
You changed the column block from
alignfullto alignwide, that’s why the CSS doesn’t work anymore.Try this CSS, I removed the
alignfullselector:.top-header-bar.wp-block-columns.has-background { padding: 10px 10px; }July 12, 2021 at 10:53 am #1853232Tina
That worked. Thank you!
July 12, 2021 at 11:00 am #1853238Ying
StaffCustomer SupportNo problem 🙂
July 12, 2021 at 11:24 am #1853272Tina
Just so you know, The black bar issue hasn’t being solved yet
July 12, 2021 at 12:17 pm #1853311Leo
StaffCustomer SupportIs the phone number all you want in the top bar area? If so we shouldn’t need to use CSS or a block element at all.
The wp columns block is what’s causing the black bar and I wonder if we are over-complicating things.
Let me know 🙂
July 12, 2021 at 3:27 pm #1853443Tina
Hi Leo,
Could you please direct me in an alternative way to create a top bar that wouldn’t add an extra column or whatever is causing the extra space underneath.
We might add extra widget in the future in the top bar like address and email contact
Thank you
July 12, 2021 at 3:28 pm #1853444Leo
StaffCustomer SupportIn that case just use the default top bar widget area instead of creating a block hook element for it:
https://docs.generatepress.com/article/top-bar-widget-area/July 12, 2021 at 3:37 pm #1853449Tina
Yes, that was the original plan but I couldnt find the default top bar widget in the this version of Generate Press. I remember seeing it in the old version
There’s nothing inside Customizer either.
Only Header/ Primary navigation…. I also checked Appearance/ Widgets and i dont see a section for Top bar
Tina
July 12, 2021 at 3:38 pm #1853452Leo
StaffCustomer SupportThat sounds super strange.
So you don’t see it here?
https://www.screencast.com/t/L4kxajkMIf so can you disable all plugins to eliminate any conflicts?
July 12, 2021 at 3:41 pm #1853454Tina
Hi, i disabled the plugins and it worked. Thanks
-
AuthorPosts
- You must be logged in to reply to this topic.