• Resolved JRiley21

    (@jriley21)


    Hi. ??

    I’m trying to change the text properties on my image captions. I’m able to change the alignment, border, even the font weight (etc.) here:

    .wp-caption p.wp-caption-text

    However, it doesn’t respond to actual text changes (e.g. font-size, etc) at all.

    Firebug shows me it’s pulling that information from the CSS class:

    #content p, content li

    Unfortunately, to change those classes properties would force me to change the way all the text in the entire post displays. How can I change the caption text properties without changing the rest of the post?

    Any help would be greatly appreciated. ??

Viewing 2 replies - 1 through 2 (of 2 total)
  • try:

    #content .wp-caption p.wp-caption-text { ... }

    or force your edits by adding !important – for instance:

    .wp-caption p.wp-caption-text { font-size: 20px!important; }

    Thread Starter JRiley21

    (@jriley21)

    Worked like a charm. ?? I appreciate your help!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘wp-caption issues’ is closed to new replies.