Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Contributor photocrati

    (@photocrati)

    @gabby_wordpress – Have you looked at any custom CSS for this element:

    .ngg-gallery-thumbnail img { ... }

    Just set an appropriate “new” border property definition and you should be fine.

    Thanks!

    – Cais.

    Thread Starter gabby_wordpress

    (@gabby_wordpress)

    Hi Cais,

    Where I want this border is directly on the page. Not when you click on the actual image. I might not have been clear here

    https://alt.testseab.glundh.se/inspirationsbilder-frigolit

    So in the actual gallery you have a border around each image when you get to the page where the gallery is.

    Was that clear enough?

    Plugin Contributor photocrati

    (@photocrati)

    @gabby_wordpress – Did you try specifically setting a border property for that CSS element?

    – Cais.

    Thread Starter gabby_wordpress

    (@gabby_wordpress)

    In Custom CSS I added the following code:

    .ngg-gallery-thumbnail img {border: 8px solid #A0A29F; }

    Thread Starter gabby_wordpress

    (@gabby_wordpress)

    It says that this topic should be solved but I haven’t got it to work.

    Is this code correct: .ngg-gallery-thumbnail img {border: 8px solid #A0A29F; }

    There is an error in the code because I just tried to change it to red color and the color does not get changed. Is it anyone who knows what the proper code is?

    Plugin Contributor photocrati

    (@photocrati)

    @gabby_wordpress – Try adding the !important directive and/or being more specific in your CSS definition … this approach does work but in some cases you may need to be very specific due to other constraints such as your current theme for example.

    – Cais.

    Thread Starter gabby_wordpress

    (@gabby_wordpress)

    This !important makes the difference. Why didn’t I think about that? Now I see a red border just the way that I want so now this topic i solved. Thanks for all help.

    Plugin Contributor photocrati

    (@photocrati)

    @gabby_wordpress – Thanks for the update!

    – Cais.

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Thicker border around each image’ is closed to new replies.