WordPress.org

Support

Support » Plugins and Hacks » Default gallery width changes when activating plugin

Default gallery width changes when activating plugin

  • 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/

Viewing 1 replies (of 1 total)
  • Plugin Author cleoni

    @cleoni

    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:

    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

Viewing 1 replies (of 1 total)
  • The topic ‘Default gallery width changes when activating plugin’ is closed to new replies.