Support Center
Visit Demo
License manager
Buy @ envato
toggle menu
Categories
Discussions
Activity
Sign In
·
Register
Sign In
·
Register
Categories
Discussions
Activity
Sign In
·
Register
×
Home
›
Theme support
›
Fonts
Caption fonts and colours
katicares
March 2017
in
Fonts
Hello,
how can I edit the fonts and colors of the image captions? I am incorporating the pictures in a text body, using the blog template.
thanks in advance for help!
kati
Comments
Bryan
March 2017
Hi,
You cannot do that from the theme itself. You would have to use custom CSS in order to achieve this.
thanks
katicares
March 2017
Ok, than you! Would you be so kind to provide me with the CSS code I should use?
katicares
March 2017
I found out myself, using
.wp-caption {
max-width: 96%; /* Image does not overflow the content area */
text-align: center;
}
.wp-caption p.wp-caption-text {
font-size:17px;
line-height:20px;
margin:10;
padding:8px 4px 5px;
font-family: 'Open Sans'
}
Bryan
March 2017
Good job
Sign In
or
Register
to comment.
Comments
.wp-caption {
max-width: 96%; /* Image does not overflow the content area */
text-align: center;
}
.wp-caption p.wp-caption-text {
font-size:17px;
line-height:20px;
margin:10;
padding:8px 4px 5px;
font-family: 'Open Sans'
}