WordPress.org

Support

Support » Themes and Templates » Gallery Images not displaying inline

Gallery Images not displaying inline

Viewing 2 replies - 1 through 2 (of 2 total)
  • datdesignguy
    Member

    @datdesignguy

    Hi there,

    It looks like you’re going to need to add some definitions to your theme’s stylesheet.

    The markup for your gallery uses the DL and DT tags. For this to work, you’re going to need to add a rule like:

    dl.gallery-item {
        width: auto;
        display: block;
        float: left;
        margin-right: 1.5em;
    }

    this should allow you to have 3 images per line with approx 21px right margin.

    Try adding the above css to your theme and see what happens 🙂

    bmorris110
    Member

    @bmorris110

    that did it! thanks!
    (i also made thumbnails a little larger so i could decrease padding)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Gallery Images not displaying inline’ is closed to new replies.