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/
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.12This 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 ???
-
@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.
@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.
Thanks to photocrati and alsi Tizz.
Yes, somebody else gave me the same solution. So my issue is fixed.
Still, thak you very much !@yduriv73 – Thanks for the follow-up.
– Cais.
The topic ‘Slideshow : CSS border problem’ is closed to new replies.