Wordpress Themes - WP Forum at BFA
There will be no more development for Atahualpa (or any other theme), and no support. Also no new registrations. I turned off the donation system. I may turn the forum to read only if it gets abused for spam. Unfortunately I have no time for the forum or the themes. Thanks a lot to the people who helped in all these years, especially Larry and of course: Paul. Take care and stay healthy -- Flynn, Atahualpa developer, Sep 2021

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

[SOLVED] How to style image based on alignment ?


  #1  
Old Aug 12, 2011, 01:39 PM
sober's Avatar
sober
 
121 posts · Oct 2010
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,176 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
 
23,765 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
  #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 02:29 AM.


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