Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Excerpts, Read more, Pagination (http://forum.bytesforall.com/forumdisplay.php?f=20)
-   -   Front page thumbnails not behaving (http://forum.bytesforall.com/showthread.php?t=1526)

paulae May 3, 2009 06:16 AM

Front page thumbnails not behaving
 
I'm using Thumbnails for Excerpts plugin to add a thumbnail image to the front page excerpts, when there is an image in a post. It works fine. But the border isn't working right. I want these thumbnails to have a 2 pixel gray border, period. But they are also getting the thicker gray border dictated by the Images in Posts CSS in the Images area of the theme options.

Oddly, this used to work just fine, and I can't figure out what I did to change it.

In CSS/HTML inserts, I have
Code:

img.thumb {
border: 2px solid #AAAAAA;
margin: 0 10px 10px 0;
padding: 5px;
}

, and in the plugin settings I have "thumb" set as the classname. Why is the CSS insert not over-riding the CSS for the other photos? A gray border is simply being added around the regular border.

http://www.larchmontgazette.com

Flynn May 5, 2009 05:08 PM

CSS files added by plugins are coming after the CSS Inserts, in the head section of the theme. Either use !important or include a selector with an ID somewhere

td#middle img.thumb {
...
}


img.thumb {
... !important;
... !important;
}


All times are GMT -6. The time now is 03:07 AM.

Powered by vBulletin® Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.