Wordpress Themes - WP Forum at BFA
Click Here To DONATE! Support the theme development, get more attention and additional benefits based on your donation level. Your forum name will be highlighted.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme » Center area post/pages »

wp image gallery border styling


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
  #1  
Old Sep 15, 2011, 09:36 AM
pmac
 
91 posts · Nov 2010
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.
  #2  
Old Sep 15, 2011, 09:57 AM
lmilesw's Avatar
lmilesw
 
10,069 posts · Jul 2009
Central New York State USA
Sometime you need to add !important to override some CSS. For example.
HTML Code:
#gallery-1 img {
    border: none !important;
}
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.
  #3  
Old Sep 15, 2011, 05:56 PM
Jam's Avatar
Jam
 
1,058 posts · Mar 2011
Perth, Western Australia
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.
__________________
May the learning curve never plateau... Thanks Larry for teaching me heaps.
My Themeframe built sites
  #4  
Old Sep 15, 2011, 08:14 PM
lmilesw's Avatar
lmilesw
 
10,069 posts · Jul 2009
Central New York State USA
That would certainly be the "preferred way" Jam... Thanks
__________________
~Larry (CNY Web Designs)
This site should be a membership site since it so full of good stuff.
Please consider donating which gives you access to even more good stuff.

Bookmarks

Tags
image gallery

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Border around image and not image caption when captioning used vCopia Center area post/pages 7 Jan 22, 2011 11:00 AM
Image border Yes. Caption Border No. vCopia Center area post/pages 1 Jan 19, 2011 05:32 PM
[SOLVED] exempt certain images from border styling? thellancer Center area post/pages 2 Nov 20, 2010 03:21 PM
Styling Widget box - bottom border GillM Sidebars & Widgets 2 Aug 4, 2010 01:51 PM
nextGen gallery with image rotator as header image shatchp Header configuration & styling 1 Feb 13, 2009 07:40 PM


All times are GMT -6. The time now is 08:37 AM.


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