WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery
How to center thumbnails in a gallery? (4 posts)

  1. ThreeSixteen
    Member
    Posted 1 year ago #

    I'm using version 1.9.6 and want to know how I can center the thumbnails in a gallery. I've tried some things, but nothing worked.

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

  2. rockuall
    Member
    Posted 1 year ago #

    same question here ;-) why isnt it possible to search the support forum?

  3. WayneM1
    Member
    Posted 1 year ago #

    Why is this such a problem?!

    I have been banging my head on this for months. Tried everything I can think of css wise, used Firebug to test various whatevers - no luck, and I feel really stupid that I can't fix this.

    Anyone have a solution???

  4. Daconix
    Member
    Posted 6 months ago #

    You can try this code:

    .ngg-gallery-thumbnail-box {
        float: left;
        height: 150px;
        width: 136px;
        position: relative;
    }
    
    .ngg-gallery-thumbnail {
    	margin-right: auto;
    	text-align: center;
    	float: none;
    	position: absolute;
    	bottom: 0px;
            width: 100%;
    }
    
    .ngg-gallery-thumbnail-box img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

    just adjust .ngg-gallery-thumbnail-box width and height.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.