Archived topic
Section bottom margin/padding to 0
3 replies · Started by Mauro on March 12, 2018
Hi,
in my website, for example here http://www.iasems.org/?page_id=45 and here http://www.iasems.org/?page_id=122 I have many pages made of sections, with a section on top which contains an artwork related to the page. I need to have 0 margin between these sections and the title section below, so that the images bottom border stick to the title section without any space.
In the "edit section" panel I have already set bottom padding to 0, and in the general "Customize/Layout/Container" i set to 0 both "separating space" and bottom padding (both mobile and desktop) in "Content padding".
Any idea on how to solve this?
Thank you very much in advance
Mauro
Hi there,
Try this CSS. It will only apply to the first section:
#generate-section-1.generate-sections-container {
line-height: 0;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Let me know if this helps.
Hi Leo,
it worked! Now the website looks awesome.
Thank you very much
Mau
No problem!