Skip to content
Snippets Groups Projects
Commit a3558ebd authored by Aspectis's avatar Aspectis Committed by Dorian Merz
Browse files

refs #19352 [fid_bbi] fix heading styles if <h1> is missing

For templates with missing <h1>, style the first <h2> as <h1> and subsequent headings as one level higher.
parent 435d3c97
No related merge requests found
...@@ -15,4 +15,17 @@ ...@@ -15,4 +15,17 @@
> div:not([class]) { > div:not([class]) {
@include paragraph; @include paragraph;
} }
// For templates with missing <h1>
> h2:first-child {
@include heading(1);
~ h3 {
@include heading(2);
}
~ h4 {
@include heading(3);
}
}
} }
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment