ursalataan
Member
Posted 1 year ago #
Hi,
I have long captions in my gallery in twenty ten so you can't tell where one caption ends and the next begins.
I would like to add code to tell it to wrap the photo caption text after 35 characters instead of 42 on a 3 column gallery.
Can someone point me to where to change this in the twenty ten theme?
http://www.marriageandthenewmonogamy.com/
Thanks,
Ursala
http://wordpress.org/extend/themes/twentyten/
edit style.css, find:
.gallery .gallery-caption {
color: #888;
font-size: 12px;
margin: 0 0 12px;
}
and add some left/right padding; example:
padding: 0 15px;
btw:
it is recommended not to edit Twenty Ten directly, but to create a child theme http://codex.wordpress.org/Child_Themes and make the edits in there.
ursalataan
Member
Posted 1 year ago #
Thanks alchymyth, I'll be able to use this a little later.
I'm just learning where to go to access the FTP files in order to create a root install and then a new directory.
Would I access wp-content/themes through general settings in WP or through my host by creating an FTP account?
thanks again.
ursalataan
Member
Posted 1 year ago #
This site has been pretty helpful in starting with a child theme.
http://op111.net/53/
Thanks you alchymyth.
ursalataan
Member
Posted 1 year ago #
adding padding was perfect, thanks!