Site logo

Archived topic

Adjust caption format

6 replies · Started by Nico on February 16, 2022

Viewing posts 1–7 of 7

Good morning!

Today, for a change, again a very trivial problem.

We have editorial reports consisting of, among other things, image galleries and individual images.

We would like to make the captions of the individual images identical to the captions of the galleries. Font size and centering.

For example website and screenshot see private area.

Thank you for a short feedback.

Greetings from Germany
Nick

Hi Nico,

I see you're using a third-party plugin for this gallery.

This isn't something controlled within the theme.

While we can provide custom CSS to achieve what you need, It may not be the best practice if this can be adjustable within the means of the plugin.

I suggest checking through Envira's UI first if it allows users to change the text styling of the captions within its modal. Consider reading through the plugin's documentation and/or contacting their support for this.

Reminder: Third-party plugins are not within our scope of support. :)

Good morning Elvin!

I think I may have expressed myself incorrectly. We don't want to match the gallery caption format to the GP caption, we want the GP caption to match the gallery caption.

Best regards from Germany
Nico

Ah I see,

Try adding this CSS:

figcaption.wp-caption-text {
    font-style: italic;
    text-align: center;
    font-size: 16px !important;
}

.wp-caption img[class*=wp-image-] {
    margin: 0 auto 20px auto;
}

Elvin, that's it. Thank you very much. Our site keeps getting better and better. Great!

best regards from Germany
Nick

Good to know. Glad you got it sorted. Let us know if you need further help with it. :D

I like to do. I'm afraid there's hardly anything left to do... ;-)))

This archived topic is closed to new replies.