Can anyone help
There is a grey border on the thumbs right now but I don`t now where it comes from
http://www.kjagen.com/2009/02/ringsaker-mountains-january-09/
Can anyone help
There is a grey border on the thumbs right now but I don`t now where it comes from
http://www.kjagen.com/2009/02/ringsaker-mountains-january-09/
It's being added by the gallery's own automatic CSS within the page. Try adding:
.gallery img {border:none !important;}
to your theme's stylesheet.
OK.
Where is that automatic css?
Have a look at your page source. It's added by the gallery shortcode.
So I looked in the lightbox 2 csss. But it was not there
Is it a style in a php file?
So i can\t style the wp gallery thumbs in the theme style.css?
Look in your page source.
So i can't style the wp gallery thumbs in the theme style.css?
You might be able to apply styling if you append every property value with !important.
I can find the source code
but an`t find where to edit!!
<style type='text/css'>
#gallery-1 {
margin: auto;
}
#gallery-1 .gallery-item {
float: left;
margin-top: 10px;
text-align: center;
width: 25%; }
#gallery-1 img {
border: 2px solid #cfcfcf;
}
#gallery-1 .gallery-caption {
margin-left: 0;
I`ve tried this.
It won`t do.
I just want a simple border to my thumbs. These are to wide
.gallery img {border:none !important;}
.gallery-icon {
padding:1px 1px !important;
border:1px solid #999 !important;
margin:2px 2px 2px 2px !important;
}
I fixed it in a way now.
But the bottom border have more padding than the rest. I tried most but it won`t change
This topic has been closed to new replies.