Skip to content

Commit

Permalink
change(heading): on homepage on the first hero set font size to h1 an…
Browse files Browse the repository at this point in the history
…d inherit color

- this way we keep the same sizes as in the figma file even though the hero uses an h2 tag
  • Loading branch information
ichim-david committed Aug 20, 2022
1 parent f09d2c5 commit 5711096
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion theme/themes/eea/extras/custom.overrides
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,15 @@
display: none !important;
}

.homepage #page-document > .hero-block h2 {
font-size: @h1;
color: inherit;
}

// remove margin and padding from homepage content-area since we have the bg image over the header
.homepage .content-area {
margin-top: 0 !important;
padding-top: 0 !important;

}

// use homepage text color for color of cards that are within a content-box that has a variant class
Expand Down

0 comments on commit 5711096

Please sign in to comment.