Caninoz
Member
Posted 1 month ago #
Hi,
I'm trying to reduce the size of the text in the captions for the photos in my galleries. I'm using the theme Autofocus. I'm a real coding newbie, so don't know where to find and adjust the code. Is it a font size (em?) issue, line height? or other?
Grateful for any help and advice. My page is
http://www.eyelives.com/?p=130 and the password is Jane.
Thank you, Christine
Hi
This code is on line 161 of your stylesheet:
.single .post h2.entry-title, .single .attachment h2.entry-title {
background:transparent none repeat scroll 0 0;
font-size:1.8em;
font-weight:100;
letter-spacing:-0.05em;
line-height:1.2em;
margin:0.5em 0 0.25em;
padding:0;
}
add this just below that section
h2.entry-title { font-size:1.4em; text-align: center; }
which reduces the caption size on this page at least
http://www.eyelives.com/?attachment_id=136
quite a bit. the text-align:center centers the text. If you want it left-aligned, remove that. You can change 1.4em to whatever you like- the big text was 1.8em - until you find the size you like. It can be 1.35em also. It can also be pixels, like 14px, instead of em.
Caninoz
Member
Posted 1 month ago #
Hi - that's wonderful. Thanks so much for your help. That fixed the problem.
Best, Christine