The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

[resolved] Horizontal space between images in Twenty-Twelve... (3 posts)

  1. daedicurus
    Posted 3 years ago #

    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

  2. Michael
    Forum Moderator
    Posted 3 years ago #

    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...

  3. daedicurus
    Posted 3 years ago #

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

Topic Closed

This topic has been closed to new replies.

About this Topic