eagerwatcher
Member
Posted 5 months ago #
The captions at ..
http://www.ourchangingglobe.com/what-would-trigger-a-us-strike-on-irans-nuclear-facilities/
look pretty lame.
How can I change the size or make it bold?
Also the caption is not centered vertically.
Any ideas would be much appreciated.
Jane
.wp-caption p.wp-caption-text
{
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin: 0;
}
close to the end of style.css of your theme.
http://www.w3schools.com/css/css_font.asp
eagerwatcher
Member
Posted 5 months ago #
Thanks.
But that's the code that presently exists on the style.css theme.
Jane
+1 to the reply of @SwansonPhotos.
that is the reason I posted a link to the font style css.
css/formatting help is not the primary focus of a wordpress forum.
please try to work with a web tool such as Firebug http://getfirebug.com/ to identify the involved css selctors.
the caption is not centered vertically
it seemed centered in my browser; if not, you could try to add
text-align:center; to the caption style.
eagerwatcher
Member
Posted 5 months ago #
It's centered horizontally but not vertically.
The caption is closer to the image than it is to the border.
Why isn't CSS a function of WP?
Do you mean that I should have posted under templates?
This issue occurs with two different themes that I'm using.
At a guess I'd say that around 20% of posts are regarding CSS.
style.css is a part of WP
Thanks for your help,
Jane
eagerwatcher
Member
Posted 5 months ago #
Please take a look at this ..
http://i41.tinypic.com/5y9i0h.jpg
Now it's centered.
font-size: 11px;
line-height: 17px;
padding: 0 4px 5px;
margin:2px 0px 0px;
font-weight:bold
}