WordPress.org

Support

Support » How-To and Troubleshooting » [Resolved] Horizontal space between images in Twenty-Twelve…

[Resolved] Horizontal space between images in Twenty-Twelve…

  • daedicurus
    Member

    @daedicurus

    Hi
    Im running a child of the Twenty-Twelve theme for my photography blog – solarisphotographyaustralia.com – 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

    @alchymyth

    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…

    daedicurus
    Member

    @daedicurus

    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 ‘[Resolved] Horizontal space between images in Twenty-Twelve…’ is closed to new replies.