WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. daedicurus
    Member
    Posted 1 year ago #

    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

  2. alchymyth
    Forum Moderator
    Posted 1 year 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
    Member
    Posted 1 year 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