Add this to the bottom of your style.css
#content .wp-caption p {
margin: 5px;
}
Thank you so much! Worked like a charm.
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.
Thanks anujasha9! Can you type the exact line of code I should add? I’m not that well versed in css.
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.
That did it…thanks so much!