Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #310988

    Jeff H
    Participant

    When I add an image to a blog post (just via the regular WordPress editor), if I enter a caption, it shows up in all caps. This is annoying and hard to read. How do I get it to show up capitalized the way I typed it in? You’d think this would be the default…

    I imagine it involves adding some snippet of code to my CSS, but exactly what I need to add eludes me. A quick Google search turned up one that converts it to what I think of as “title case” (capitalizing the first letter of nearly every word; that wasn’t the term the code used). That was, if anything, worse. I just want it to appear the way I typed it in, with NO changes to the capitalization at all.

    #311138

    Friech
    Moderator

    Hi There,

    Thanks for writing in! You can add this under Custom > CSS in the Customizer.

    no changes
    .wp-caption-text {text-transform: none !important;}

    or

    capitalizing the first letter:
    .wp-caption-text {text-transform: capitalize !important;}

    Hope it helps, Cheers!