[Resolved] Site Library theme Pixel: unwanted padding of gallery

Home Forums Support [Resolved] Site Library theme Pixel: unwanted padding of gallery

Home Forums Support Site Library theme Pixel: unwanted padding of gallery

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1018951
    J

    Situation:

    • Fresh installation of the Pixel theme from GeneratePress’ Site Library
    • The page /surfing shows by default a beautiful gallery full page width.
    • Then I added a second gallery on the same page, just below the default one.

    Problem: The page with the two galleries now gets unwanted left padding. Adding the class ‘full-width-gallery’ to the second gallery doesn’t help.

    Note: The gallery on the page /beaches is shown normal. Full width.

    Question: What did I do wrong? How can I add a gallery that is shown full width

    #1018961
    Leo
    Staff
    Customer Support

    Hi there,

    I actually see some left margin on both galleries.

    Try this CSS:

    ul.blocks-gallery-grid {
        margin-left: 0;
    }

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

    Let me know if this helps ๐Ÿ™‚

    #1019016
    J

    Thanks for your response, Leo.

    Somehow the gallery lost al of its padding.

    This CSS does the trick:

    ul.blocks-gallery-grid {
        margin: 15px 15px 15px 15px;
    }
    #1019036
    Leo
    Staff
    Customer Support

    Awesome ๐Ÿ™‚

    Glad you’ve figured out!

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