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 ?

Old Aug 12, 2011, 02:39 PM
sober's Avatar
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 ?
Old Aug 12, 2011, 03:12 PM
lmilesw's Avatar
10,172 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.
Old Aug 12, 2011, 03:17 PM
juggledad's Avatar
23,438 posts · Mar 2009
OSX 10.11.5 WP 4.x Atahualpa(all) Safari, Firefox, Chrome
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
Old Aug 12, 2011, 07:13 PM
sober's Avatar
121 posts · Oct 2010
Thanks juggledad, it works like a charm...


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 08:44 PM
[SOLVED] Image Alignment dvalliere Center area post/pages 2 Jun 8, 2011 05:12 PM
How can I control the header image based on the page? ochayemin Header configuration & styling 1 Nov 7, 2010 07:12 PM
[SOLVED] sad lack of satisfactory “image handling” -- image alignment driving me bonk boldizar Atahualpa 3 Wordpress theme 3 Sep 27, 2009 11:06 PM
Change image based upon width haenchensd Header configuration & styling 1 Aug 3, 2009 04:21 PM

All times are GMT -6. The time now is 10:35 PM.

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