Wordpress Themes - WP Forum at BFA

Wordpress Themes - WP Forum at BFA (http://forum.bytesforall.com/index.php)
-   Center area post/pages (http://forum.bytesforall.com/forumdisplay.php?f=32)
-   -   wp image gallery border styling (http://forum.bytesforall.com/showthread.php?t=15392)

pmac Sep 15, 2011 09:36 AM

wp image gallery border styling
 
Not sure if this is a WP problem or ATA. http://pollymac.com/judyscolors.com/?page_id=225. I just want a simple gallery here. I'm getting a strange border around the images that I can't seem to get rid of. Using developer tools, I can uncheck the box next to #gallery-1 img {border: 2px solid #CFCFCF;} and the border disappears, but when I insert #gallery-1 img {border: none;}, nothing happens. I've tried lots of other inserts, but still can't figure it out. Thanks for any suggestions.

lmilesw Sep 15, 2011 09:57 AM

Sometime you need to add !important to override some CSS. For example.
HTML Code:

#gallery-1 img {
    border: none !important;
}


Jam Sep 15, 2011 05:56 PM

In ATA options/Various Content/Style Images you can remove that border/padding from images. That will remove it from all images though, not sure if you want that.

lmilesw Sep 15, 2011 08:14 PM

That would certainly be the "preferred way" Jam... Thanks


All times are GMT -6. The time now is 05:52 AM.

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