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 »

Image not centered in frame


Build custom WP THEMES, without
coding.
Click here for THEMEFRAME

From the author of Atahualpa, the #1 most
downloaded (700,000+) theme @ wordpress.org
 
Prev Previous Post   Next Post Next
  #1  
Old Apr 30, 2009, 07:28 PM
paulae's Avatar
paulae
 
1,330 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
Image not centered in frame

The default settings in the Images area of theme options work fine and give a nice "frame" border for images with or without captions. However, I don't want the caption text centered. I want it align=left. When I did that, suddenly the image was smack up against the left edge of the frame, with too much frame showing on the right.

All I could do was to change the CSS padding code wildly. The default was
Code:
border: 1px solid #dddddd;
text-align: center;
background-color: #f3f3f3;
padding-top: 4px;
margin: 10px 0 0 0;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
, and I changed it to:
Code:
border: 1px solid #dddddd;
text-align: left;
background-color: #f3f3f3;
padding: 4px 0px 0px 12px;
margin: 10px 0 0 0;
-moz-border-radius: 3px;
-khtml-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
I wonder if there is another way to do this. It seems the caption CSS is controlling the image area too, and it was just trial and error to get some semblance of symmetry. I don't really see why this works at all; is it taking into account the border-radius numbers?

http://www.larchmontgazette.com
 

Bookmarks

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes


Similar Threads
Thread Thread Starter Forum Replies Last Post
[SOLVED] Dashed Border around the centered Menubar Bud66 Page & Category Menu Bars 20 Nov 10, 2009 05:02 AM
[SOLVED] allign page menu with inner frame f0rd42 Header configuration & styling 2 Jul 9, 2009 07:32 AM
Image not centered in box paulae Atahualpa 3 Wordpress theme 5 Apr 29, 2009 09:35 PM
Can't get logo and header image overlay to be centered on all screen resolutions jockoe Header configuration & styling 1 Feb 27, 2009 02:44 PM


All times are GMT -6. The time now is 11:12 AM.


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