WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
Monoslideshow is not centered (4 posts)

  1. Godsticks
    Member
    Posted 3 years ago #

    Hello experts,
    I recently added the Nextgen-Monoslideshow plugin on my website but I'm finding the slideshow will not center, it's always left aligned.

    My question is how do I fix this, is there a tag or do I need to change something in the code, and if so which file should the changes go into. I've tried the style.css and changing;

    div.slideshow {
    /* Main page slideshow wrapper */
    border : 5px solid #E1E1E1;
    width : px;
    margin : 0 auto;
    }

    But it seems that this does not change the MONOslideshow alignment.

    please help.
    Best regards, Godsticks

    http://wordpress.org/extend/plugins/nextgen-gallery/

  2. Godsticks
    Member
    Posted 3 years ago #

  3. Godsticks
    Member
    Posted 3 years ago #

    I've looked into it a little bit more, and I can't find the CSS for the monoslideshow at all... The slideshow does actually seem centered but with a huge transparent area which adds upp the slideshow size (w=641 + transparent area = 940) and 940 is the actual width of the pagesize.

    If I change the slideshow size to 940pixels (width) in the settings inside the WP dashboard -> Nextgen gallery -> Monoslideshow it will actually align the slideshow in the centre. (If I make it lower than 940 it will align to the left)

    Here is a screenshot;

    http://www.aimless.se/wp-content/gallery/midsummer-2010/untitled-1.jpg

    I can't seem to fix this on my own, please help.

  4. Godsticks
    Member
    Posted 3 years ago #

    Problem solved, I was first led to believe that the div needed to be fixed was called monoslideshow, but nope it was just slideshow. Added the following code in the custom css part of my theme and it was fixed.

    div.slideshow {
    width: auto;
    border: 0px;
    margin: 0 auto;
    }

    object.slideshow {
    padding:0;
    border:2px #ffffff solid;
    display: block;
    margin-left: auto;
    margin-right: auto;
    }

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.