How do you change the size of the caption text under pictures?

  • TheB94


    I tried using this, but it did not work:

    .gallery-caption {
    font-size: 12px;

    Kenneth John Odle


    If you are talking about a caption, then try this code:

    .wp-caption p {font-size:12px;}

    alter the value to whatever you want.



    That didn’t seem to work. My webpage is… I am trying to change the size of the text under the pictures.



    It seems this is what you should use:

    font: 14px arial !important;

    I can’t tell if the !important is necessary or not, you may want to test it out.

    Hope it helps.


    .wp-caption-text{ font: 14px arial !important; }

    Thank you, that worked perfectly.

Viewing 5 posts - 1 through 5 (of 5 total)

  • You must be logged in to reply to this topic.