• bvbb

    (@bvbb)


    I’m doing something simple: changing style of image, gallery, and video captions to centered italic. I entered this Additional CSS and it works perfectly for images:

    .wp-block-image figcaption {
    	font-size: 14px;
    	text-align: center;
    	font-style: italic;
    }

    For example, see caption “Cortegana”s Plaza de Toros”. I tried this to do the same to the bottom caption for a gallery:

    .blocks-gallery-caption figcaption {
    	font-size: 14px;
    	text-align: center;
    	font-style: italic;
    }

    This code, however, has no effect. For example, see caption “Sidewalk occupational mosaics”…

    What am I doing wrong?

    The page I need help with: [log in to see the link]

  • The topic ‘Styling gallery and video captions vs image captions’ is closed to new replies.