[Resolved] Remove space after header on mobile

Home Forums Support [Resolved] Remove space after header on mobile

Home Forums Support Remove space after header on mobile

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #160666
    Evandro Arruda

    Hi folks,

    I’m using a few social icons on mobile right after the header, but there’s an extra space after the header / before content that I just can’t remove (http://abcaprendizagem.com.br/).

    When using sections I can set a spacer as a section and then hide it on mobile via CSS. Is it possible to remove this space on mobile by default?

    Thanks

    #160798
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    In each lightweight grid column shortcode, add: style="margin-bottom:0;"

    That should do it 🙂

    #160867
    Evandro Arruda

    Tom,

    Thanks for the help, this code will be useful in the future, but that doesn’t seem to remove this extra space.

    I think the space is generated by a separating space of 20 set in Element Spacing, but if I remove, the whole website will be messed up. Can I remove separating space only after header and @media (max-width: 767px)?

    Thanks

    #160929
    Tom
    Lead Developer
    Lead Developer

    Hmm, try this CSS:

    .hide-on-desktop .lgc-column {
        margin-bottom: 0;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.