Use add_theme_support to enable native HTML5 captions and add caption styling to wp-caption-text.
14 lines
194 B
Plaintext
14 lines
194 B
Plaintext
// Captions
|
|
.wp-caption {
|
|
&:extend(.thumbnail all);
|
|
}
|
|
|
|
.wp-caption-text {
|
|
&:extend(.thumbnail .caption);
|
|
}
|
|
|
|
// Gallery shortcode
|
|
.gallery-row {
|
|
padding: (@line-height-computed / 2) 0;
|
|
}
|