Forums

[Plugin: NextGEN Gallery] Centre images in imagebrowser (3 posts)

  1. arbortek
    Member
    Posted 4 months ago #

    I very much like the Nextgen gallery and I have integrated it in my website. Because the vertical pictures were shown too big (even larger than I uploaded them) I removed the width: 100%; in the CSS file. I now have the problem that thepictures in the imagebrowser are outlined on the left on the screen where I want them centered. You can check
    here what I mean: http://www.johnstuij.nl

    Any help will be much appreciated!
    Cheers,
    John

  2. megamoser
    Member
    Posted 2 months ago #

    add these two lines to your nggallery.css file (same position where width: 100% used to be)

    margin-left: auto !important;
    margin-right: auto !important;
  3. megamoser
    Member
    Posted 2 months ago #

    (of course the !important is not necessary)

Reply

You must log in to post.

About this Topic