WordPress.org

Ready to get started?Download WordPress

Forums

NextGEN Gallery Sidebar Widget
Where is CSS in NextGen Gallery Sidebar Widget (4 posts)

  1. Ruthie1
    Member
    Posted 2 years ago #

    I want to add a border. I haven't a clue where the styles are for this widget.

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

  2. strangeshe
    Member
    Posted 2 years ago #

    Hi Ruthie,

    This plugin doesn't appear to have its own stylesheet, but using Firebug I found a class of .ngg-sidebar-widget and was able to add a border to my image. I'm using a child theme based on twenty-eleven, and this is the code that worked for me, just added it to my child's stylesheet:

    .ngg-sidebar-widget a img {
    border: 1px solid #ddd;
    padding: 6px;
    }

    Hope that helps!

  3. Ruthie1
    Member
    Posted 2 years ago #

    Thank you. I was able to solve the issue. My theme has a nice simple form for adding additional CSS tags. I'm not sure where it's putting them. However, after a few tries to be sure I named the proper class, I got it.

  4. jordl
    Member
    Posted 2 years ago #

    Newb question here.
    I have the same issue.
    My sidebar includes one NGG widget (with framed thumbnails) and the NGG sidebar widget, with no frames. I'd like to have the same frames in both widgets.

    I tried to add the following code in my theme's stylesheet file, style.css under the /* Sidebar */ section:

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

    But nothing changes.
    I also tried to add it the nextgen.css file. But same result.

    Can you help?
    Website is http://www.jocosite.net

    Thanks,

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic