Center image galleries in posts

  • Author
    Posts
  • #109360

    katfranc
    Member

    Hi again (sorry for all the questions!),
    Having trouble figuring out how to center image galleries in posts. Is there a way around this? I’m probably overlooking something really obvious here…. -_-

    Example: https://kateysmodernlife.com/2017/02/04/panasonic-lumix-g7/

    The blog I need help with is kateysmodernlife.com.

    #109478

    ricardpriet
    Theme Author

    Hi katfranc
    never mind!

    Yes it seems that gallery show square of your images with 150px of width, so it is not enough to fill the full width page.

    So you can change the size of images (selecting other size “Size of the images to display”) or add this CSS to center all of galleries:

    .gallery {
        display: table;
        margin: 0 auto;
    }

    Let us know and thank you again!
    Ricardo P. from SiloCreativo

The topic ‘Center image galleries in posts’ is closed to new replies.