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 » Center area post/pages »

[SOLVED] How to style image based on alignment ?

Old Aug 12, 2011, 01: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, 02:12 PM
lmilesw's Avatar
10,174 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, 02:17 PM
juggledad's Avatar
23,632 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, 06: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 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 01:49 PM.

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