Changing Caption size, position, color

Hello the great team !

I need to change the size position (align to right or left and stacking with the photo with no space) and color of caption on simple image.

Can you please help me ?
Here you can find the page : Portrait – Emilie Cottam – La MUE – Style et personnalité

thanks a lot !

Hey there

You can use this css code to customize it;

.wp-block-image figcaption {
    margin-top: -0.5em;
    margin-left: 20px;
color: #f00;
}

Regards

hello and thanks it works fine !
And is it possible to change the size too ?

Thanks !

Oups, I see a different position about Caption :slight_smile:

http://emiliecottam.com/index.php/accompagnement/

  • one with more vertical space between photo and the name
  • one with less vertical space between photo and name + not exactly aligned to left

Do you understand why ?
thanks for your skills

Hi there

This code will make it work:

.wp-block-image figcaption {
    margin-top: 0.7em !important;
    margin-left: 0px !important;
    color: #1e132b !important;
    display: block !important;
}

Regards