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 »

[SOLVED] How to style image based on alignment ?


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 Aug 12, 2011, 01:39 PM
sober's Avatar
sober
 
121 posts · Oct 2010
Lightbulb [SOLVED] How to style image based on alignment ?

I would like to have my centered images have a border whereas no borders for right and left aligned images. Is that possible ?
  #2  
Old Aug 12, 2011, 02:12 PM
lmilesw's Avatar
lmilesw
 
10,100 posts · Jul 2009
Central New York State USA
I believe the left and right aligned images have their own unique class. You could determine what that is with Firebug and then apply the necessary CSS.
__________________
~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 Aug 12, 2011, 02:17 PM
juggledad's Avatar
juggledad
 
22,265 posts · Mar 2009
OSX 10.8.5 WP 3.8.x Atahualpa 3.7.x Safari 6.x Firefox 25 XP
try this
HTML Code:
.post img.alignright {
	margin: 0 0 0 0;
	padding: 0;
}
__________________
"Tell me and I forget, teach me and I may remember, involve me and I learn." - Benjamin Franklin
Juggledad | Forum Moderator/Support
  #4  
Old Aug 12, 2011, 06:13 PM
sober's Avatar
sober
 
121 posts · Oct 2010
Thanks juggledad, it works like a charm...

Bookmarks

Tags
style images

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
Different logo image based on category (via css) sober Header configuration & styling 1 Jun 29, 2011 07:44 PM
[SOLVED] Image Alignment dvalliere Center area post/pages 2 Jun 8, 2011 04:12 PM
How can I control the header image based on the page? ochayemin Header configuration & styling 1 Nov 7, 2010 06:12 PM
[SOLVED] sad lack of satisfactory “image handling” -- image alignment driving me bonk boldizar Atahualpa 3 Wordpress theme 3 Sep 27, 2009 10:06 PM
Change image based upon width haenchensd Header configuration & styling 1 Aug 3, 2009 03:21 PM


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


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