WordPress.org

Forums

[resolved] How do I stop my gallery thumbnails overlapping? (3 posts)

  1. Jonnywalker84
    Member
    Posted 1 year ago #

    Ive got a basic gallery in wordpress but the thumbnails are overlapping badly with no gap in between the pictures...heres a link to see what i mean:
    http://www.realholds.com/?page_id=5

    thanks

  2. ubaidullahbutt
    Member
    Posted 1 year ago #

    1. Open your style.css file in an editor

    2. Search for ".gallery-item". I think it will be on line 1357

    3. inside the braces you'll see like

    .gallery-item {
        margin-bottom: 20px;
        margin-right: 15px;
        width: 115px !important;
    }

    4. Change margin-right to "60px" or whatever margin you want.

    That's it

  3. Jonnywalker84
    Member
    Posted 1 year ago #

    Thank you so much! That's worked perfectly!

Topic Closed

This topic has been closed to new replies.

About this Topic