Title: Slideshow : CSS border problem
Last modified: August 22, 2016

---

# Slideshow : CSS border problem

 *  Resolved [yduriv73](https://wordpress.org/support/users/yduriv73/)
 * (@yduriv73)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/slideshow-css-border-problem/)
 * Hello everyone,
 * I use WP (latest version 4.0), Nextgen Gallery (most recent version) and I installed
   a slideshow (slideshow Nextgen) on a post:
 * [http://garsyves.fr/2012/12/27/lumieres-dautomne-en-haute-tarentaise/](http://garsyves.fr/2012/12/27/lumieres-dautomne-en-haute-tarentaise/)
 * As you can see, I wanted to put a white border around 4px, but the right side,
   the border is not displayed (… and sometimes, depending on W and H set in the
   shortcode, not the bottom more).
 * According to the documentation, I modified the CSS (Gallery / Extras / Styles/
   Edit Default Styles) as follows:
    ================= / * CSS Name: Default Styles
   Description: NextGEN Default Gallery Stylesheet Author: Photocrati Media Version:
   2.12
 * This stylesheet is Provided to allow users the Ability of overriding the default
   styles for all kinds display
    * /
 * **.ngg-slideshow img {
    border: 4px solid # FFFFFF; } =================
 * The code in the post is:
    <p style = “text-align: center;”> **[ngg_images gallery_ids
   = “7” display_type = “photocrati-nextgen_basic_slideshow” gallery_width = “750”
   gallery_height = “500”]** </ p>
 * I said that the “natives” pictures are 750x500px, and the option of “resizing”
   to download images by NGG is “NO” (the images are ALREADY at 750x500px)
 * I also said that if I decrease the values ​​of **gallery_width** and **gallery_height**
   in the shortcode, nothing changes in terms of the border.
 * Could someone help me ???
 * [https://wordpress.org/plugins/nextgen-gallery/](https://wordpress.org/plugins/nextgen-gallery/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [tizz](https://wordpress.org/support/users/tizz/)
 * (@tizz)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/slideshow-css-border-problem/#post-5274063)
 * [@yduriv73](https://wordpress.org/support/users/yduriv73/), in this moment I 
   can’t see nothing wrong in your right border, maybe you’ve fixed the issue.
 * P.S.: you can remove that p style tag alignment around shortcode because it’s
   not of any use.
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/slideshow-css-border-problem/#post-5274068)
 * [@yduriv73](https://wordpress.org/support/users/yduriv73/) – You may just need
   to add a bit more custom CSS to the mix to force the image into the constraints
   of your theme’s content area.
 * Try adding the following property to your custom CSS:
    `max-width: 98% !important;`
 * See if that works out …
 * – Cais.
 *  Thread Starter [yduriv73](https://wordpress.org/support/users/yduriv73/)
 * (@yduriv73)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/slideshow-css-border-problem/#post-5274197)
 * Thanks to photocrati and alsi Tizz.
    Yes, somebody else gave me the same solution.
   So my issue is fixed. Still, thak you very much !
 *  Plugin Contributor [photocrati](https://wordpress.org/support/users/photocrati/)
 * (@photocrati)
 * [11 years, 8 months ago](https://wordpress.org/support/topic/slideshow-css-border-problem/#post-5274222)
 * [@yduriv73](https://wordpress.org/support/users/yduriv73/) – Thanks for the follow-
   up.
 * – Cais.

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Slideshow : CSS border problem’ is closed to new replies.

 * ![](https://ps.w.org/nextgen-gallery/assets/icon-256x256.png?rev=2083961)
 * [Photo Gallery, Sliders, Proofing and Themes - NextGEN Gallery](https://wordpress.org/plugins/nextgen-gallery/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/nextgen-gallery/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/nextgen-gallery/)
 * [Active Topics](https://wordpress.org/support/plugin/nextgen-gallery/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/nextgen-gallery/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/nextgen-gallery/reviews/)

## Tags

 * [border](https://wordpress.org/support/topic-tag/border/)
 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [nextgen](https://wordpress.org/support/topic-tag/nextgen/)
 * [slideshow](https://wordpress.org/support/topic-tag/slideshow/)

 * 4 replies
 * 3 participants
 * Last reply from: [photocrati](https://wordpress.org/support/users/photocrati/)
 * Last activity: [11 years, 8 months ago](https://wordpress.org/support/topic/slideshow-css-border-problem/#post-5274222)
 * Status: resolved