Tagged: block editor, general layout, header
-
AuthorPosts
-
April 2, 2020 at 12:43 am #1199914
Hi guys,
Hope you are all well.
I am building a new site for another client and using the Block Editor. My General Layout settings were:
Stretched / Top Header / Dimensions Content and Sidebar Width 90% (same as the Travel demo)
Everything looked good until I hid Both Title and Breadcrumbs under Header, and the header changes visually to 100%. Sending you a link to the page under Private Content.
Any suggestions? Am I doing something wrong?
Thank you so much in advance!!
Havi
April 2, 2020 at 1:00 am #1199916Hi guys!
So many years with Enfold, I had to figure it out ;)
I found the CSS to fix it, but I am sure it shouldn’t work with added CSS. Is there a more elegant solution with the settings?
Thank you!! Look forward to your wisdom!
Warmly,
Havi
Here’s the CSS I added:
.html_header_top #top .av_header_stretch .container {
width: 83%;
padding: 0;
max-width: 100%;
}April 2, 2020 at 1:59 am #1199919Hi,
The section you hid holds styling thats needed for the layout width.
Best regards,
Jordan ShannonApril 2, 2020 at 2:24 am #1199930Hi Jordan,
That’s incorrect. I re-enabled it and it still would have the wrong dimensions. This is a bug. Look at how the title and breadcrumbs are hidden on the travel template and it keeps the size?
Havi
April 9, 2020 at 2:01 pm #1202302Hi Havi,
Best regards,
VictoriaApril 9, 2020 at 4:04 pm #1202362Hi Victoria,
The reason you see it working is because I fixed it with my own custom CSS as you can see on my reply #1199916 above.
But as I said, there should be a more elegant solution on the settings. The header shouldn’t suddenly change to Stretch 100% when you edit the Title / Breadcrumbs settings. At least, in all the years I have been using Enfold, that never happened. The settings should stick. Not be overridden by another section’s settings. But I never used the Block Editor/ALB combo before.
Is there a setting I am missing?
Thank you!!
Havi
April 11, 2020 at 12:52 pm #1202869Hi Havi,
No, the stretched header gets a 96% width container, there is no bug. The Content and Sidebar are ruled by the 90% setting, the header container gets its own width.
Best regards,
Victoria -
AuthorPosts
- You must be logged in to reply to this topic.