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 »

Image not centered in box


  #1  
Old Apr 29, 2009, 06:32 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
I had been using the Image Shadow plugin to create a nice, soft frame around my images, and I'd turned off the default border in the theme. Then I realized the plugin was caching the images, and it was adding about .3 of a second to the front page load-time. So I deactivated it.

Now I want the border back, but the default produces an odd effect. The image is flush left, with a right padding area. I want it centered, and can't figure out how to get it that way.
  #2  
Old Apr 29, 2009, 07:01 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
Try this CSS Insert

.post img.size-full {
margin: 0 auto;
}
  #3  
Old Apr 29, 2009, 08:40 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
OK, thanks.

In the meantime, I had fiddled with the padding so that there was enough on the left side to counteract the radius padding. At least, I think that was what the problem was.

Now that I have disabled the plugin, I've lost the nice thin border around the front page thumbnails. That's a plugin too, Thumbnails for Excerpts. I'm not sure why the border is gone; the CSS for it is still in the CSS area of options. Curiouser and curiouser....

Last edited by paulae; Apr 29, 2009 at 08:47 PM.
  #4  
Old Apr 29, 2009, 08:49 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
The CSS Inserts override the theme options as they come last in the source code.

style.css -> Theme Options -> CSS Inserts
  #5  
Old Apr 29, 2009, 08:52 PM
paulae's Avatar
paulae
 
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
Sorry, I deleted part of my previous post, and added a part you didn't answer yet. Obviously, it's late and I should be in bed!
  #6  
Old Apr 29, 2009, 09:35 PM
Flynn's Avatar
Flynn
 
3,768 posts · Oct 2008
Munich, Germany
And so should I

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
Image not centered in frame paulae Atahualpa 3 Wordpress theme 1 May 4, 2009 09:20 PM
search box and archive search box zizi Page & Category Menu Bars 2 Mar 28, 2009 11:31 AM
Header image between Blog Title/Sub Title and search box bseppa Header configuration & styling 1 Mar 15, 2009 02:39 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 05:34 PM.


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