Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Plugins & Atahualpa »

Nextgen Gallery: Where to add CSS to change font family of image descriptions


  #1  
Old Mar 5, 2012, 10:31 AM
Koukla
 
11 posts · Jan 2011
I am trying to change the font of the image descriptions of my portfolio using Nextgen Gallery plugin. Here is a link so you can see what I'm talking about: http://capappasart.com/portfolio/mixed-media/. I am talking about the text that appears under the image after you click on the thumbnail. Right now it is arial I believe and I want it to be Georgia to match the rest of my site. I have tried adding the font family info to many different places in the stylesheet but I do not know what I am doing wrong.

Could someone point me in the right direction? I have asked this same question on the Wordpress.org forums with no response, but this seems like it should be simple to change. Here is the stylesheet for the plugin:

/*
CSS Name: Default Styles
Description: NextGEN Default Gallery Stylesheet
Author: Alex Rabe
Version: 2.11

This is a template stylesheet that can be used with NextGEN Gallery. I tested the
styles with a default theme Kubrick. Modify it when your theme struggle with it,
it's only a template design

*/

/* ----------- Album Styles Extend -------------*/

.ngg-albumoverview {
margin-top: 10px;
width: 100%;
clear:both;
display:block !important;
}

.ngg-album {
height: 100%;
padding: 5px;
margin-bottom: 5px;
border: 1px solid #fff;
}

/* IE6 will ignore this , again I hate IE6 */
/* See also http://www.sitepoint.com/article/bro...ific-css-hacks */
html>body .ngg-album {
overflow:hidden;
padding: 5px;
margin-bottom: 5px;
border: 1px solid #cccccc;
}

.ngg-album {
overflow: hidden;
padding: 5px;
margin-bottom: 5px;
border: 1px solid #cccccc;
}

.ngg-albumtitle {
text-align: left;
font-weight: bold;
margin:0px;
padding:0px;
font-size: 1.4em;
margin-bottom: 10px;
}

.ngg-thumbnail {
float: left;
margin-right: 12px;
}

.ngg-thumbnail img {
background-color:#FFFFFF;
border:1px solid #A9A9A9;
margin:4px 0px 4px 5px;
padding:4px;
position:relative;
}

.ngg-thumbnail img:hover {
background-color: #A9A9A9;
}

.ngg-description {
text-align: left;
}

/* ----------- Album Styles Compact -------------*/

.ngg-album-compact {
float:left;
height:180px;
padding-right:6px !important;
margin:0px !important;
text-align:left;
width:120px;
}

.ngg-album-compactbox {
background:transparent url(albumset.gif) no-repeat scroll 0%;
height:86px;
margin:0pt 0pt 6px !important;
padding:12px 0pt 0pt 7px !important;
width:120px;
}


.ngg-album-compactbox .Thumb {
border:1px solid #000000;
margin:0px !important;
padding:0px !important;
width:91px;
height:68px;
}

.ngg-album-compact h4 {
font-size:15px;
font-weight:bold;
margin-bottom:0px;
margin-top:0px;
width:110px;
}

.ngg-album-compact p {
font-size:11px;
margin-top:2px;
}

/* ----------- Gallery style -------------*/

.ngg-galleryoverview {
overflow: hidden;
margin-top: 10px;
width: 100%;
clear:both;
display:block !important;
}

.ngg-galleryoverview .desc {
/* required for description */
margin:0px 10px 10px 0px;
padding:5px;
}

.ngg-gallery-thumbnail-box {
float: left;
}

.ngg-gallery-thumbnail {
float: left;
margin-right: 5px;
text-align: center;
}

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

.ngg-gallery-thumbnail img:hover {
background-color: #A9A9A9;
}

.ngg-gallery-thumbnail span {
/* Images description */
font-size:90%;
padding-left:5px;
display:block;
}

.ngg-clear {
clear: both;
}

/* ----------- Gallery navigation -------------*/

.ngg-navigation {
font-size:0.9em !important;
clear:both !important;
display:block !important;
padding-top: 15px;
padding-bottom: 2px;
text-align:center;

}

.ngg-navigation span {
font-weight:bold;
margin:0pt 6px;
}

.ngg-navigation a.page-numbers,
.ngg-navigation a.next,
.ngg-navigation a.prev,
.ngg-navigation span.page-numbers,
.ngg-navigation span.next,
.ngg-navigation span.prev {
border:1px solid #DDDDDD;
margin-right:3px;
padding:3px 8px;
text-decoration: none;
}

.ngg-navigation a.page-numbers:hover,
.ngg-navigation a.next:hover,
.ngg-navigation a.prev:hover,
.ngg-navigation span.page-numbers:hover,
.ngg-navigation span.next:hover,
.ngg-navigation span.prev:hover {
background-color: #0066CC;
color: #FFFFFF !important;
text-decoration: none !important;
}

/* ----------- Image browser style -------------*/

.ngg-imagebrowser {

}

.ngg-imagebrowser h3 {
text-align:center;
}

.ngg-imagebrowser img {
border:1px solid #A9A9A9;
margin-top: 10px;
margin-bottom: 10px;
width: 100%;
display:block !important;
padding:5px;
}

.ngg-imagebrowser-nav {
padding:5px;
margin-left:10px;
}

.ngg-imagebrowser-nav .back {
float:left;
border:1px solid #DDDDDD;
margin-right:3px;
padding:3px 7px;
}

.ngg-imagebrowser-nav .next {
float:right;
border:1px solid #DDDDDD;
margin-right:3px;
padding:3px 7px;
}

.ngg-imagebrowser-nav .counter {
text-align:center;
font-size:0.9em !important;
}

.exif-data {
margin-left: auto !important;
margin-right: auto !important;
}

/* ----------- Slideshow -------------*/
.slideshow {
margin-left: auto;
margin-right: auto;
text-align:center;
outline: none;
}

.slideshowlink {

}

/* ----------- JS Slideshow -------------*/
.ngg-slideshow {
overflow:hidden;
position: relative;
}

.ngg-slideshow * {
vertical-align:middle;
}

/* See also : http://www.brunildo.org/test/img_center.html */
.ngg-slideshow-loader{
display: table-cell;
text-align: center;
vertical-align:middle;
}

.ngg-slideshow-loader img{
background: none !important;
border: 0 none !important;
margin:auto !important;
}

/* ----------- Single picture -------------*/
.ngg-singlepic {
background-color:#FFFFFF;
display:block;
padding:4px;
}

.ngg-left {
float: left;
margin-right:10px;
}

.ngg-right {
float: right;
margin-left:10px;
}

.ngg-center {
margin-left: auto !important;
margin-right: auto !important;
}

/* ----------- Sidebar widget -------------*/
.ngg-widget,
.ngg-widget-slideshow {
overflow: hidden;
margin:0pt;
padding:5px 0px 0px 0pt;
text-align:left;
}

.ngg-widget img {
border:2px solid #A9A9A9;
margin:0pt 2px 2px 0px;
padding:1px;
}

/* ----------- Related images -------------*/
.ngg-related-gallery {
background:#F9F9F9;
border:1px solid #E0E0E0;
overflow:hidden;
margin-bottom:1em;
margin-top:1em;
padding:5px;
}
.ngg-related-gallery img {
border: 1px solid #DDDDDD;
float: left;
margin: 0pt 3px;
padding: 2px;
height: 50px;
width: 50px;
}

.ngg-related-gallery img:hover {
border: 1px solid #000000;
}

/* ----------- Gallery list -------------*/

.ngg-galleryoverview ul li:before {
content: '' !important;
}

.ngg-gallery-list {
list-style-type:none;
padding: 0px !important;
text-indent:0px !important;
}

.ngg-galleryoverview div.pic img{
width: 100%;
}

.ngg-gallery-list li {
float:left;
margin:0 2px 0px 2px !important;
overflow:hidden;
}

.ngg-gallery-list li a {
border:1px solid #CCCCCC;
display:block;
padding:2px;
}

.ngg-gallery-list li.selected a{
-moz-background-clip:border;
-moz-background-inline-policy:continuous;
-moz-background-originadding;
background:#000000 none repeat scroll 0 0;
}

.ngg-gallery-list li img {
height:40px;
width:40px;
}

li.ngg-next, li.ngg-prev {
height:40px;
width:40px;
font-size:3.5em;
}

li.ngg-next a, li.ngg-prev a {
padding-top: 10px;
border: none;
text-decoration: none;
}
  #2  
Old Mar 5, 2012, 11:00 AM
juggledad's Avatar
juggledad
 
23,765 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
using Firebug in firefox, it looks like it is coming from this
HTML Code:
#TB_window {
    color: #333333;
    font: 12px "Lucida Grande",Verdana,Arial,sans-serif;
}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #3  
Old Mar 5, 2012, 11:41 AM
Koukla
 
11 posts · Jan 2011
Thank you! I couldn't find what you were talking about so I downloaded that firebug add-on and found out it is in some other stylesheet for the specific "effect" that I had chosen. I will use this firebug thing A LOT in the future.

Bookmarks

Tags
css, nextgen gallery



Similar Threads
Thread Thread Starter Forum Replies Last Post
NextGen Image Gallery & TinyMCE bda Plugins & Atahualpa 9 Jun 23, 2011 11:34 PM
[SOLVED] Nextgen Image Gallery on Home Page KenS Plugins & Atahualpa 4 Oct 5, 2010 10:19 PM
Cannot change size of NextGen Gallery Widget Title Kopfhoerer Sidebars & Widgets 5 Feb 8, 2010 06:02 PM
Nextgen Image Gallery in place of the rotating images marvinc Header configuration & styling 4 Jan 28, 2010 08:49 PM
nextGen gallery with image rotator as header image shatchp Header configuration & styling 1 Feb 13, 2009 08:40 PM


All times are GMT -6. The time now is 11:44 AM.


Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.