• Resolved jasonparkermusic

    (@jasonparkermusic)


    Hi there,

    Every since I upgraded to 3.1 the caption frame around the pictures is bigger than it used to be. You can see what I mean by going here:

    https://jazznowseattle.com

    See how there’s extra space below the caption text?

    Any ideas how I can get that back to normal?

    Thanks!
    Jason

Viewing 8 replies - 1 through 8 (of 8 total)
  • Add this to the bottom of your style.css

    #content .wp-caption p {
    margin: 5px;
    }

    Thread Starter jasonparkermusic

    (@jasonparkermusic)

    Thank you so much! Worked like a charm.

    Thread Starter jasonparkermusic

    (@jasonparkermusic)

    So, I updated to the newest version and now the fix above is no longer working. Anyone know how I can get the caption box back to the right size?

    Thanks!

    You have given #content p {margin-bottom:24px;}
    if overrides the .wp-caption p {margin: 5px;}
    Solution:- .wp-caption p {margin: 5px!important;}
    This “!important” will override the content p class’s margin.

    Thread Starter jasonparkermusic

    (@jasonparkermusic)

    Thanks anujasha9! Can you type the exact line of code I should add? I’m not that well versed in css.

    Thread Starter jasonparkermusic

    (@jasonparkermusic)

    Can anyone help? I’ve tried every configuration of that code I can and nothing is fixing it.

    thanks!
    Jason

    find this class set .wp-caption p.wp-caption-text in your style.css file. replace with this code.
    .wp-caption p.wp-caption-text {
    color: #888888;
    font-size: 12px;
    margin: 5px!important;
    }
    sorry for the late reply.

    Thread Starter jasonparkermusic

    (@jasonparkermusic)

    That did it…thanks so much!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Caption frame has gotten bigger since 3.1’ is closed to new replies.