Home › Forums › Viral News › Image caption size
- This topic has 2 replies, 2 voices, and was last updated 4 years, 1 month ago by lucas.
- AuthorPosts
- August 27, 2020 at 1:48 am #24714lucasParticipant
Hi I would like to change the caption size for the caption text beneath images in posts.
I have attempted with this css but it did not work:
.wp-caption-text {
text-align: center;
font-size: 10px !important;
}All of the post text is changed with the following (including the caption) but I only want to change the caption:
.vl-article-content{
font-size: 10px;
line-height: 1.6;
}August 28, 2020 at 12:09 am #24767HashKeymasterCan you please show us the text on your website that you are looking to change? Now we are not sure about which text you are looking to change.
August 31, 2020 at 5:08 pm #24897lucasParticipantThanks for your reply. I have now resolved this. To change the style of the caption text under images in posts I had to edit the class “.wp-block-image figcaption”
.wp-block-image figcaption{
font-size: 13px;
font-family: “poppins”,sans-serif;
text-transform: uppercase;
color: #808080 !important;
line-height: 1.2
padding-bottom: 5;
} - AuthorPosts
- You must be logged in to reply to this topic.