Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1155080

    Hi,

    how can I change the size of the font in the text description under each image? I use the Gutenberg Editor.

    We use the CSS:

    .wp-caption-text {
    display:block !important;
    font-size:18px !important;
    font-style:normal !important;
    margin:0 auto !important;
    padding:3px 10px 5px !important;
    text-align:center !important;
    font-family: "Roboto", arial, sans-serif !important; }

    But this doesn’t work with Gutenberg.

    Thank a lot

    #1155183

    Hey Florian,

    This is not really related to our theme, we provide support for our layout builder and matters which are specific to our theme. We might be able to help you out anyway but then we would need to see the problem somewhere. In the future you might want to consider posting questions like these on a general WordPress support forum instead.

    Best regards,
    Rikard

    #1155423

    Hi Rikard,

    I thought that might have something to do with the combination Enfold + Gutenberg.

    Maybe there is a function in Enfold that overrides the Gutenberg editor?

    An example in the appendix.

    Here the fontsize under the pictures is very small. This was not the case before using the Gutenberg Editor.

    best regards
    Florian

    #1155489

    Hi Florian,

    The classes have changed with the new editor, you will have to target the new classes:

    .wp-block-image figcaption {
      Your CSS goes here
    }

    Best regards,
    Rikard

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.