Преглед изворни кода

styling adjust wp-block-gallery figcaption

tags/1.0.0^2^2
Alej пре 3 година
родитељ
комит
803f41aa30
2 измењених фајлова са 17 додато и 1 уклоњено
  1. 8
    1
      vue-theme/editor-style.css
  2. 9
    0
      vue-theme/src/pages/single.vue

+ 8
- 1
vue-theme/editor-style.css Прегледај датотеку

@@ -110,4 +110,11 @@ hr .wp-block-separator, .is-style-wide {
110 110
 hr .wp-block-separator, .is-style-dots:before {
111 111
     letter-spacing: 4em;
112 112
     padding-left: 4em;
113
-}
113
+}
114
+    
115
+.wp-block-image figcaption {
116
+    position: inherit !important;
117
+    background: none !important;
118
+    color: black !important;
119
+}
120
+

+ 9
- 0
vue-theme/src/pages/single.vue Прегледај датотеку

@@ -270,6 +270,15 @@ export default {
270 270
                 position: absolute
271 271
                 top: 100%
272 272
 
273
+        .wp-block-gallery
274
+            margin: 0 0 0.5em 0
275
+            
276
+            > .wp-block-image     
277
+                figcaption
278
+                    position: inherit
279
+                    background: none
280
+                    color: $cia_black
281
+
273 282
         /* iframe container 16:9 */
274 283
         [class^="iframe-container"]
275 284
             position: relative

Loading…
Откажи
Сачувај