WordPress.org

Forums

Easy Image Gallery
[resolved] Center the Display of Thumbnails (7 posts)

  1. tandrews
    Member
    Posted 1 year ago #

    Is it possible to tweak something so that the thumbnails are centered on the page instead of aligned on the left margin? And, when there are enough thumbnails to scroll to a second or third row, for each row of thumbnails to be aligned center instead of all of the rows aligning with each other on the left? If so, I'd really appreciate if you could give me instructions about what to change where.

    Thanks!

    http://wordpress.org/plugins/easy-image-gallery/

  2. Andrew Munro (sumobi)
    Member
    Plugin Author

    Posted 1 year ago #

    Centering images within HTML lists (ul) depends on your theme's content area width.

    It's fairly easy if your theme has a fixed width, but if your theme is responsive this will be tricky as the width is always changing, so you will need to work in percentages.

    The amount of thumbnails per line also depends on the theme's content width and the size of your thumbnails, so you will need to write your own CSS to achieve exactly what you are after.

  3. tandrews
    Member
    Posted 1 year ago #

    Thank for your help! The CSS tweaks work perfectly.

  4. Andrew Munro (sumobi)
    Member
    Plugin Author

    Posted 1 year ago #

    Great! :)

  5. bevels
    Member
    Posted 1 year ago #

    What "CSS tweaks" worked perfectly??

    I'm trying to center all the thumbnails can't seem to nail it.

    Lets for argument sake (and ease) say the thumbnails are in a fixed width div.

    B

  6. Andrew Munro (sumobi)
    Member
    Plugin Author

    Posted 1 year ago #

    Can you show me a live URL to your gallery that you'd like centered?

  7. bevels
    Member
    Posted 1 year ago #

    Hey.. sure can, as soon as I move it from local to live. I'll bookmark this thread so I remember to come back to it when the site's up.

    Thanks man!

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Easy Image Gallery
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.