Shop Categories

X

Reply To: Caption text css

Home Forums Agama Pro Caption text css Reply To: Caption text css

#10126
Zex
Moderator

Hello,nmarsh!

Try to add an “!important” attribute to your padding value:

.wp-caption {
max-width: 100%; /* Keep wide captions from overflowing their container. */
padding: 5px!important;
}

or try to limit the height of the wp-caption:

.wp-caption {
max-width: 100%; /* Keep wide captions from overflowing their container. */
height:200px!important;
}

Regards