Site logo

Archived topic

Site Library theme Pixel: unwanted padding of gallery

3 replies · Started by J on September 25, 2019

Viewing posts 1–4 of 4

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

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;
}

Awesome :)

Glad you've figured out!

This archived topic is closed to new replies.