-
AuthorPosts
-
September 9, 2021 at 12:22 am #1320139
I added a new top bar above header and now I need to add spacing above the content where it is now encroaching on the page title and breadcrumbs. How do I move the content start down?
https://tbwp.hostworks.com/urantia-book/
Here is an illustrationSeptember 9, 2021 at 12:42 am #1320140Ugh, never mind, I found the code on an other site I had to do this on. I added this to Quick CSS.
/* Fix the vertical spacing caused by adding the taller top bar (in this case the top bar was increased to 40px) */
@media only screen and (min-width:1024px){
.html_header_top.html_header_sticky #top #wrap_all #main {
padding-top: 220px !important;
}
}For the future, it would nice to add Vertical Size to “Small bar above Main Menu” in Advanced styling that would Automatically adjust where the content started. Seems logical.
By the way, here is the code to increase the height of the small bar above the menu to 40px, for example.
/* Increase the size of the top bar above the main menu */
#header_meta {
min-height: 40px;
}September 9, 2021 at 6:07 am #1320196Hi hostworks,
We’re glad that you were able to resolve it with CSS.
And thanks for sharing the code that worked for you :)Best regards,
NikkoSeptember 9, 2021 at 4:49 pm #1320283Your feature request has been down for a while. Anyway to submit this item as a new feature request?
September 10, 2021 at 7:10 pm #1320442Hi hostworks,
You can post your request here, we’ll just forward it to our devs :)
Best regards,
NikkoSeptember 10, 2021 at 7:39 pm #1320451As a feature request, it would nice to add Vertical height (size) to “Small bar above Main Menu” in Advanced styling that would Automatically adjust where the content started below. Seems logical.
This would eliminate having to add css code to increase height of the top bar and where the content begins below the header. I have to do this with virtually every site I build. And I’ve built dozens of Enfold sites! Thank you!
I.e., the code I use is
/* Increase the size of the top bar above the main menu */
#header_meta {
min-height: 40px;
}
/* Fix the vertical spacing caused by adding the taller top bar (in this case the top bar was increased to 40px) */
@media only screen and (min-width:1024px){
.html_header_top.html_header_sticky #top #wrap_all #main {
padding-top: 220px !important;
}
}September 13, 2021 at 4:08 am #1320616Hi hostworks,
Thanks, your request has been forwarded to our devs.
This will still get queued and evaluated and hopefully gets approved :)Best regards,
NikkoSeptember 13, 2021 at 5:03 pm #1320764Thanks Nikko, you can close this ticket.
-
AuthorPosts
- The topic ‘Adding top bar now overlaying content below’ is closed to new replies.