Archived topic
Below image spacing on section
7 replies · Started by jdaco on October 16, 2017
Hello guys,
On the home page of a site I have two sections, the first one has an image with the following code: <img src="IMAGE URL" />
But just below the image there are about 3 pixels spacing showing the section's background color. In the "Edit Section" I have set Top and Bottom Padding to zero!
How can I remove this spacing?
Thank you!
Jorge
Hi there,
That is likely because the image added is not big enough. Try something with width of 1920px.
Let me know.
Hi Leo, I tried that there still remains the space below the image.
J
Can you leave it in so I can see it?
This what I see currently: https://s1.postimg.org/73mnyp5vtb/sectionmargin.png
Hi Leo, just refresh the page, I left the 1920px image on.
Thanks
Give this CSS a shot:
#generate-section-1 p {
line-height: 0;
}
Adding CSS: https://docs.generatepress.com/article/adding-css/
Hello Leo, yes!! that works!!
Thanks for your support.
Jorge
No problem!