WordPress.org

Ready to get started?Download WordPress

Forums

Plugin Nextgen Gallery: 1. space above/between images 2. upgrade (2 posts)

  1. Tom Aarons
    Member
    Posted 6 years ago #

    Hi,

    I'm using nextgen gallery at http://tamarindtrees.net and I have several problems I haven't been able to fix.

    Firstly, I seem to have a space above each image or set of images. You can see it on the "photo index" page, and on the individual galleries linked to from there. It's like the images are being displaced downwards a little.

    Secondly there seem to be wrapping or alignment issues. Sometimes the bottom images in a gallery won't line up as a set of three, which is how I want them. They displace down, or across, one image sized space. Sometimes it causes the bottom line of a gallery to cling to the right side of the page, and sometimes it causes an image or two to jump a whole space down. You can see a not particularly severe example in the "rice and noodles" gallery.

    Thirdly, I'd like to upgrade the plugin, but I can't find any instructions on how to do it.

    Can anyone help with any of these?

  2. monodistortion
    Member
    Posted 6 years ago #

    Are you familiar with editing CSS? I would recommend trying Firefox with the Firebug plugin, since that's what I use to figure out most CSS problems.

    It looks like you're using the K2 theme which has a CSS file called core.css.php which means the CSS may be generated by PHP so I can't say for sure what you'll need to change. You may want to ask in the K2 forums since this is a K2 related CSS problem.

    For some reason the core.css.php is overriding the nggallery.css.

    If it doesn't affect the rest of your layout get rid of .entry-content div at line 531:

    .entry-content p, .entry-content ul, .entry-content ol, .entry-content div, .entry-content blockquote
    {
    margin:13px 0;
    }

    You may be able to fix the margins in the nggallery.css file and declare them !important so they will take precedence.

Topic Closed

This topic has been closed to new replies.

About this Topic