[Support request] grid padding left right issue

Home Forums Support grid padding left right issue

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1023913
    Long

    Can you advise how i can get rid the padding-left of first grid-50 section and the padding-right of the second grid? So the 2 images can be aligned correctly with the top slider (regarding left/right padding). I tried grid-parent but no luck. Thanks in advanced

    the slider
    <img2>
    <img3>
    #1024459
    David
    Staff
    Customer Support

    Hi there,

    if you want to keep the inner column gap then try this CSS:

    .grid-remove-outer-padding>div:first-child {
        padding-left: 0;
    }
    
    .grid-remove-outer-padding>div:last-child {
        padding-right: 0;
    }
    
    @media (max-width: 1024px) {
        .grid-remove-outer-padding>div {
            padding-left: 0;
            padding-right: 0;
        }
    }

    And give the container the additional class of: grid-remove-outer-padding

    #1025943
    Long

    amazing, thanks so much David

    #1026021
    David
    Staff
    Customer Support
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.