• Resolved Mistress Mia

    (@mistress-mia)


    Hi,

    My website is https://www.kinkymia.com

    I am trying to change the wp-caption and although I have successfully changed this on other themes using the following CSS code:

    .wp-caption {
    font-size: 14px;
    color: #ffffff;
    text-align: center;
    background-color: #cccccc;
    padding-top: 8px;
    margin: 10px;
    }

    The font size and colour does not appear to change here.

    Can you assist please?

    Mia

Viewing 3 replies - 16 through 18 (of 18 total)
  • Mmm no you don’t need that css. aligncenter is already defined.
    You just have to add another class to the post image, In order to have something like this, for example:

    <img alt="Pinched" src="https://i1.wp.com/kinkymia.com/wp-content/uploads/2014/03/Pinched.png?resize=400%2C326" class="size-medium wp-image-5667 aligncenter secureimg_wp" width="400" height="326">

    Thread Starter Mistress Mia

    (@mistress-mia)

    Ah ok not to worry as I would like it to apply for all captioned images and what I have got seems to do that ok.

    Thanks again for all your help.

    Mia

    Glad you solved ??

Viewing 3 replies - 16 through 18 (of 18 total)
  • The topic ‘Change Font and Font Size in Captions’ is closed to new replies.