• I am just using the basic gallery function. It stays aligned to the left no matter what I try within the settings. Will I need to use code to achieve this?

    Can anybody help with this?

    I’m also open to using a different gallery plug in if thats easier. Cheers!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter jasonleehines

    (@jasonleehines)

    Forgot to link my page so you can see what I’m talking about.

    http://www.backpackingcinephile.com/kohutapu-lodge-part-i/

    Hi jasonleehines. You should be able to find something in this article to help.

    Thread Starter jasonleehines

    (@jasonleehines)

    Hi bdbrown. I tried most of the things in that article but I still couldn’t get the bloody thing to center.

    The HTML for the gallery is:

    [gallery type="rectangular" size="large" captions="hide" columns="4" ids="735,736,740,739,737,743,742,741"]

    What should I add to this to center it successfully? Or maybe there is some other plug in causing the problem?

    Not sure what you’re using to generate the gallery but all the elements used for the gallery have inline styles. To override those you might try adding this to your custom css:

    .tiled-gallery .gallery-row {
      margin: 0 auto;
    }
Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Centering galleries in posts?’ is closed to new replies.