Dawn 2.0 - change collection banner font size

hi guys,

i need help changing the font size of the collection banner in dawn 2.0.

link to an example: https://spazioarte.de/collections/art

i already did:

  • change css in base.css (h1, h2, etc all to 14px)

  • change both .collection-hero__title and .collection-hero__description text size to 1.4rem and 14px, both didn’t work

my whole website is on one text size only, but this one won’t change and that is annoying.

for sure someone knows! thanks in advance

julian

Hi,

Please add !important next to font-size: 14px.

It should be as below.

.collection-hero__title+.collection-hero__description {
    margin-top: 1.5rem;
    margin-bottom: 1.5rem;
    font-size: 14px !important;
    line-height: calc(1 + .5 / var(--font-body-scale));
}

Hope it helps.

Thanks.

1 Like

that helped !

thank you David :slightly_smiling_face: