Hi, guys. Hope everything is fine over there!
When I set up a whitespace element, it automatically adds 50px padding top and 50px padding bottom of the element, adding up the total sum of pixels.
For example, as the image I send on the link, I set up a 20px whitespace element and it ends up with 120px height.
If I set up a 1px whitespace, it ends up with 101px height.
How can I get rid of that extra top and bottom padding so I can work with precise whitespaces?
Thank you.
Cheers from Brazil
Hey otavioef,
Thanks for the screenshot, please post a link to where we can see the actual element as well.
Best regards,
Rikard
Hi, Guys, it is still in develpment, but you can take a look at the link below :D
Thank you.
Hi otavioef,
Here is the code you can put in Enfold > General Styling > Quick Css, if it does not work, put into themes/enfold/css/custom.css
#top.page-id-145 #after_submenu_1 .hr-invisible,
#top.page-id-145 #after_submenu_1 .content {
margin: 0 !important;
padding: 0 !important;
height: 0;
}
If you need further assistance please let us know.
Best regards,
Victoria
Hi, Victoria. Thank you.
It worked.
I understand that this css was targeted to that specific page and also that I can adjust the height on it.
But I would like to understand why it had that extra padding so I can prevent it from happening againg. Is it because of the sorrounding elements?
I have other whitespace elements on the same website and they work fine. as expected.
Thank you.
Hi otavioef,
There is a section with the whitespace that can be removed totally in the Advanced Layout Builder. The whole #after_submenu_1 section.
Best regards,
Victoria