[Resolved] Section bottom margin/padding to 0

Home Forums Support [Resolved] Section bottom margin/padding to 0

Home Forums Support Section bottom margin/padding to 0

  • This topic has 3 replies, 2 voices, and was last updated 6 years ago by Leo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #517867
    Mauro

    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

    #518100
    Leo
    Staff
    Customer Support

    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.

    #518404
    Mauro

    Hi Leo,
    it worked! Now the website looks awesome.
    Thank you very much

    Mau

    #518877
    Leo
    Staff
    Customer Support

    No problem!

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