Browse Source

Professional Business: Fixing font weight for headings in cover block

Allan Cole 6 years ago
parent
commit
b201ed1f89

+ 9 - 0
professional-business/sass/blocks/_blocks.scss

@@ -526,6 +526,15 @@
 			}
 		}
 
+		h1,
+		h2,
+		h3,
+		h4,
+		h5,
+		h6 {
+			font-weight: normal;
+		}
+
 		h1 {
 			font-size: $font__size-xxl;
 		}

+ 15 - 0
professional-business/style-rtl.css

@@ -3895,6 +3895,21 @@ body.page .main-navigation {
   }
 }
 
+.entry .entry-content .wp-block-cover-image h1,
+.entry .entry-content .wp-block-cover-image h2,
+.entry .entry-content .wp-block-cover-image h3,
+.entry .entry-content .wp-block-cover-image h4,
+.entry .entry-content .wp-block-cover-image h5,
+.entry .entry-content .wp-block-cover-image h6,
+.entry .entry-content .wp-block-cover h1,
+.entry .entry-content .wp-block-cover h2,
+.entry .entry-content .wp-block-cover h3,
+.entry .entry-content .wp-block-cover h4,
+.entry .entry-content .wp-block-cover h5,
+.entry .entry-content .wp-block-cover h6 {
+  font-weight: normal;
+}
+
 .entry .entry-content .wp-block-cover-image h1,
 .entry .entry-content .wp-block-cover h1 {
   font-size: 2.8125em;

+ 15 - 0
professional-business/style.css

@@ -3907,6 +3907,21 @@ body.page .main-navigation {
   }
 }
 
+.entry .entry-content .wp-block-cover-image h1,
+.entry .entry-content .wp-block-cover-image h2,
+.entry .entry-content .wp-block-cover-image h3,
+.entry .entry-content .wp-block-cover-image h4,
+.entry .entry-content .wp-block-cover-image h5,
+.entry .entry-content .wp-block-cover-image h6,
+.entry .entry-content .wp-block-cover h1,
+.entry .entry-content .wp-block-cover h2,
+.entry .entry-content .wp-block-cover h3,
+.entry .entry-content .wp-block-cover h4,
+.entry .entry-content .wp-block-cover h5,
+.entry .entry-content .wp-block-cover h6 {
+  font-weight: normal;
+}
+
 .entry .entry-content .wp-block-cover-image h1,
 .entry .entry-content .wp-block-cover h1 {
   font-size: 2.8125em;