Support » Fixing WordPress » Horizontal space between images in Twenty-Twelve…

  • Resolved daedicurus


    Im running a child of the Twenty-Twelve theme for my photography blog – – and i use the “image” formatting for the front page of the posts so I don’t get any white boxes around my images. This used to have an 8 pixel horizontal space between each image on the front page and so I used the same 8 pixel space for the vertical lines in my collage pics to keep the look consistent but (I think I’ve done something and) recently the horizontal space has become much bigger and doesn’t look any good anymore…
    Could someone please help me with a fix for this?
    Thank you so much

Viewing 2 replies - 1 through 2 (of 2 total)
  • Michael


    Forum Moderator

    try to add something like this to style.css of the child theme:

    img.aligncenter { margin-bottom: 0; }

    check this for any side effects in your site…

    Fantastic, worked a treat with no other side effects that I can see
    Thanks so much Alchymyth

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Horizontal space between images in Twenty-Twelve…’ is closed to new replies.