Site logo

Archived topic

How to put the caption above the posts featured image

7 replies · Started by Roger on August 12, 2021

Viewing posts 1–8 of 8

Hello,

How to put the caption above the post featured image?

Hi Roger,

Try this CSS:

.featured-image .wp-caption.thumb-caption {
    display: flex;
    flex-direction: column;
}

.featured-image .wp-caption.thumb-caption p {
    order: -1;
}

Let me know :)

Thank you Ying!

You are welcome :)

Hi Ying,

How can I align text to the right and increase the font size?

Hi there,

change Yings CSS to:

.featured-image .wp-caption.thumb-caption {
    display: flex;
    flex-direction: column;
}

.featured-image .wp-caption.thumb-caption p {
    order: -1;
    text-align: right;
    font-size: 16px;
}

Hi Jonathan,

Can you open a new topic and using the private info field to attach your post link where we can see the featured image and caption?

This archived topic is closed to new replies.