Skip to content

Instantly share code, notes, and snippets.

@scottwyden
Created October 2, 2015 14:58
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save scottwyden/fbc9cfd4e425a5a60f3b to your computer and use it in GitHub Desktop.
Save scottwyden/fbc9cfd4e425a5a60f3b to your computer and use it in GitHub Desktop.
5 More CSS Snippets to Customize NextGEN Gallery
/** Increase the default trigger icon sizes */
.fa-shopping-star::before,
.fa-shopping-cart::before,
.fa-share-square::before,
.fa-comment::before {
font-size: 20px;
}
/** Reduce space between Album title and number of photos */
.ngg-album-compact h4 .ngg-album-desc {
height: auto !important;
}
/** Remove borders around Compact Album preview images */
.ngg-album-compactbox::before,
.ngg-album-compactbox::after,
.ngg-album-compactbox {
border: none !important;
}
/** Hide number of photos in compact album display */
.ngg-album-gallery-image-counter {
display: none;
}
/** Center Basic Thumbnails */
.ngg-galleryoverview {
text-align: center !important;
}
.ngg-gallery-thumbnail-box {
float: none !important;
display: inline-block !important;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment