Skip to content

Commit ead33f0

Browse files
Making the key-text rule have more specific selectors so hopefully n. (It's been working fine locally but online the key-text rule has just displayed as regular text, not increased size or bolded).
1 parent 89cfbed commit ead33f0

1 file changed

Lines changed: 4 additions & 2 deletions

File tree

assets/css/main.scss

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,10 +47,12 @@
4747
font-size: 1.0em;
4848
}
4949

50-
.key-text {
50+
/* Key text styling - more specific selector to override theme defaults */
51+
.page__content .key-text,
52+
.page__content p.key-text {
5153
font-size: 1.25em !important;
5254
font-weight: bold !important;
53-
color: inherit;
55+
color: inherit !important;
5456
}
5557

5658
.larger-text {

0 commit comments

Comments
 (0)