[Resolved] Below image spacing on section

Home Forums Support [Resolved] Below image spacing on section

Home Forums Support Below image spacing on section

  • This topic has 7 replies, 2 voices, and was last updated 7 years ago by Leo.
Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #404126
    jdaco

    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

    #404235
    Leo
    Staff
    Customer Support

    Hi there,

    That is likely because the image added is not big enough. Try something with width of 1920px.

    Let me know.

    #404260
    jdaco

    Hi Leo, I tried that there still remains the space below the image.

    J

    #404263
    Leo
    Staff
    Customer Support

    Can you leave it in so I can see it?

    This what I see currently: https://s1.postimg.org/73mnyp5vtb/sectionmargin.png

    #404270
    jdaco

    Hi Leo, just refresh the page, I left the 1920px image on.

    Thanks

    #404362
    Leo
    Staff
    Customer Support

    Give this CSS a shot:

    #generate-section-1 p {
        line-height: 0;
    }

    Adding CSS: https://docs.generatepress.com/article/adding-css/

    #404379
    jdaco

    Hello Leo, yes!! that works!!

    Thanks for your support.
    Jorge

    #404451
    Leo
    Staff
    Customer Support

    No problem!

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.