Image Captions

  • TelevisionAU

    #50284

    Hi guys. One thing I’ve noticed since the last few Graphene theme updates is that image captions are now all presented in italics, whereas before they were just in “normal” text. This used to work well, and if I wanted to italicise any words within captions I could use the <i> tag, etc. But now the captions are completely italicised by default so any italics I had within my captions is now redundant.

    (As an example, https://televisionau.com/feature-articles/network-ten where I had TV show titles italicised but now the entire captions are)

    Is there a way I can change the image captions back to normal text?

    Thank you for your time.

    Admin

    Syahir Hakim

    #50287

    Copy and paste the following code into Additional CSS:

    .entry-content .wp-caption-text, 
    .wp-block-image figcaption, 
    .wp-block-audio figcaption {
    	font-style: normal;
    }
    

    TelevisionAU

    #50292

    Brilliant. That works. Thank you so much 🙂

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Do NOT follow this link or you will be banned from the site!