|
#1
Apr 29, 2009, 07:32 PM
|
|
|
|
1,333 posts · Feb 2009
Wordpress 3.4.1, Atahualpa 3.7.7
|
|
Image not centered in box
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
Apr 29, 2009, 08:01 PM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
Try this CSS Insert
.post img.size-full {
margin: 0 auto;
}
|
#3
Apr 29, 2009, 09:40 PM
|
|
|
|
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 09:47 PM.
|
#4
Apr 29, 2009, 09:49 PM
|
|
|
|
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
Apr 29, 2009, 09:52 PM
|
|
|
|
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
Apr 29, 2009, 10:35 PM
|
|
|
|
3,768 posts · Oct 2008
Munich, Germany
|
|
And so should I
|
|