WordPress.org

Support

Support » Plugins and Hacks » NEXTGEN galley Thumbails CSS margin

NEXTGEN galley Thumbails CSS margin

Viewing 1 replies (of 1 total)
  • Have you made a custom nggallery.css in your theme directory ?

    Otherwise just use the following, if you have a nggallery.css in your theme directory can use the following but you’ll have to edit manually since you won’t be able to alter the style via WordPress.

    A .css in your theme directory take priority over the one in the nextgen-gallery/css

    First off back up your nggallery.css file, located in :

    /wp-content/plugins/nextgen-gallery/css

    Then you can use :

    Gallery->Style

    Search for the following and change it to what I paste below :

    .ngg-gallery-thumbnail {
    /* float: left; sixx */
    /* margin-right: 5px; sixx */
    /* padding-top:10px; -sixx- row space in gallery */

    height:86px;
    margin:0pt 0pt 6px !important;
    padding:0px 0pt 0pt 0px; /* -sixx- 12px 0pt 0pt 7px !important; */
    padding-top:10px;
    padding-bottom: 5px; /* -sixx- */
    width:120px;
    }

    .ngg-gallery-thumbnail img {
    background-color:#FFFFFF;
    border:1px solid #A9A9A9;
    display:block;
    /* -sixx margin:4px 0px 4px 5px; */
    margin-left: auto; /* -sixx- */
    margin-right: auto; /* -sixx- */
    padding:4px;
    position:relative;
    }

    Good luck.

Viewing 1 replies (of 1 total)
  • The topic ‘NEXTGEN galley Thumbails CSS margin’ is closed to new replies.