• Resolved netbloke

    (@netbloke)


    I am using nextgen-gallery for a simple slideshow. I simply want to put a 3px wide boarder around the images as the slideshow plays. The CSS seems pretty complex and I do not want to break something else by poking around.

    Anyone have a quick and easy solution?

    Thanks!

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi netbloke,

    I believe the NextGEN gallery comes with its own style sheet, and that it is called “ngg_dkret3.css”. Based on what I know, you have two ways of going about adding that border:
    1. Through the NextGEN setup menu: Go to Gallery ==> Styles and look for the values you would like to change in there;
    2. Directly on the .css file: Locate the “ngg_dkret.css” file in your template folder, and edit it with the WP HTML editor (WP Admin panel ==> Appearance ==> Editor) or with any HTML editor of your choice (download the file to your pc, change it, and reupload it again).
    The piece of code you need to add should look something like this (in this example, I’m assuming NextGEN is associated with an style ID “ngg”, but you would have to keep the original name):
    `#ngg {
    border: #dedede solid 1px; }
    (<attribute>: <#color> <style> <width>;)

    Hope this helps. Good luck!

    Forgot to close my code tag, so here’s the code again:

    #ngg {
    border: #dedede solid 1px; }

    You can add any color of your choice (“dedede” is for a light fray).

    Thread Starter netbloke

    (@netbloke)

    Thanks Marventus, I think I will need to alter the CSS. I will see how it goes!

    Funny, I just posted on trying to do the same thing. See https://www.ads-software.com/support/topic/383426?replies=1

    I just posted there what I ended up doing and works pretty well, see it working at
    https://mysite.komotion.com/about/

    Thread Starter netbloke

    (@netbloke)

    Thanks everyone! @rneagu I tried your solution first and it worked! So that is the solution for me!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Adding simple border to images in slideshow (nextgen-gallery)’ is closed to new replies.