The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

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

  1. xhal44
    Posted 2 years 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?


  2. cleoni
    Plugin Author

    Posted 2 years 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:


    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


No tags yet.