WordPress.org

Forums

Simplest Gallery Plugin
Default gallery width changes when activating plugin (2 posts)

  1. xhal44
    Member
    Posted 1 year ago #

    This is the best gallery plugin I've found, but I have a small but annoying issue that when I activate the plugin, my gallery is suddenly off-center on my page. Digging through the CSS, I found that that culprit is:

    #gallery-0 .gallery-item {
    float: left;
    margin-top: 10px;
    text-align: center;
    width: 24%;
    }

    When the plugin is disabled, the above code looks exactly the same, except the width is 25%, and the gallery centers properly on my page.

    Edit: If I force 25% through custom css, the gallery aligns properly, but then I'm unable to choose less or more columns.

    Any ideas what could be causing this?

    http://wordpress.org/plugins/simplest-gallery/

  2. cleoni
    Member
    Plugin Author

    Posted 11 months ago #

    Hi xhal,
    I'm sorry I landed on this question so late.

    My suggestion is to plug in the LghtView addon style, which is now responsive and which can be easily adapted by tweaking the CSS:

    http://www.simplestgallery.com/add-ons/lightview-gallery-style-plugin/

    let me know if you have somehow solved the problem, and if not just post a link to the add-looking page and I'll try to suggest something

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simplest Gallery Plugin
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.