Wordpress Themes - WP Forum at BFA
Click here to register or to donate.
Auto self-registration is not available here - far too many spammers. This forum has many, many backlinks and because of that there is an intense desire among spammers to drop their links here.

Wordpress Themes - WP Forum at BFA » WordPress Themes » Atahualpa 3 Wordpress theme »

[SOLVED] Excluding specific images from CSS rules


  #1  
Old Sep 19, 2011, 06:38 PM
Hawkeyes18
 
5 posts · Sep 2011
Fantastic theme, excellent forums!


I have styled my images to create rounded corners in supporting browsers and add a drop shadow. However, I would like to able to exclude certain images from this rule. Specifically the images loaded by the Share and Follow plugin. They can be seen on each page, and I don't want them rounded or shadowed.

I have added the following code to css inserts, and Firebug tells me it is active; however, I see no results.

Code:
.shareinpost { 
-webkit-box-shadow: none; /* Safari */ 
box-shadow: none;
-moz-border-radius: 0px;
-khtml-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
}
How should I remove the rounding and shadow from the Follow and Share images.

WP 3.2.1
Ata 3.6.7
Test site: www.epiphanydancearts.org.previewdns.com
  #2  
Old Sep 19, 2011, 07:30 PM
lmilesw's Avatar
lmilesw
 
10,172 posts · Jul 2009
Central New York State USA
How about if you add img after the selector like the following.
HTML Code:
.shareinpost img { 
-webkit-box-shadow: none; /* Safari */ 
box-shadow: none;
-moz-border-radius: 0px;
-khtml-border-radius: 0px;
-webkit-border-radius: 0px;
border-radius: 0px;
}
__________________
~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 19, 2011, 07:46 PM
Hawkeyes18
 
5 posts · Sep 2011
Well that worked nicely! Thanks lmilesw.

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to add rules/guidelines for commenting in the comment box Kimberly Gill Comments, trackbacks & pings 1 Sep 26, 2010 12:28 PM
How to put specific SWF files on specific pages as header images? kippiper Header configuration & styling 2 Dec 10, 2009 08:23 AM
Rotate specific header images by category. Vigilance theme. vxfnick Header configuration & styling 3 Sep 22, 2009 10:15 AM
Page specific header images jts193 Header configuration & styling 2 Sep 1, 2009 05:40 PM


All times are GMT -6. The time now is 06:13 AM.


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