Button-2: Center image caption on frontend
@@ -20,7 +20,14 @@ Description: Used to style Gutenberg blocks
/* Captions */
-[class^="wp-block-"] figcaption {}
+[class^="wp-block-"] figcaption {
+ color: #555d66;
+ font-family: Lora, Garamond, serif;
+ font-size: 13px;
+ font-style: italic;
+ text-align: center;
+ line-height: 1.6;
+}
/*--------------------------------------------------------------
@@ -155,8 +155,10 @@ Description: Gutenberg Block Editor Styles
[class^="wp-block-"] figcaption {
color: #555d66;
- font-family: Lato, Helvetica, sans-serif;
font-size: 13px;
line-height: 1.6;
}
@@ -1914,9 +1914,12 @@ figure {
.wp-caption-text {
font-family: Lora, Garamond, serif;
font-style: italic;
text-align: center;