Hi everyone,
I’ve been building my website with Shopify for a while now. I use a lot of CSS here and there to modify certain elements.
However, I’ve reached a point where I’m customizing my website a lot and I’m ending up repeating several code snippets everywhere (for example, section headings with the same font, size, etc.).
Is it possible to know how to modify my website’s core code so that I can change an element once and for all (for example, all my “h1” headings) and not have to copy/paste the same CSS every time?
Thanks in advance, have a great day!
Exemple of CSS I use :
h2 {
font-size: 50px;
font-weight: 950;
}
.card__heading {
font-size: 20px !important;
font-weight: 500;
}
.quick-add__submit {
font-size: 18px !important;
font-weight: 700;
color: #fff;
background-color: #000;
}
.button:hover {
background-color: #fff;
color: #000;
}
@media only screen and (max-width: 800px) {
.price-item {
font-size: 18px;
}
.card__heading {
font-size: 18px;
}
.quick-add__submit {
font-size: 16px !important;
font-weight: 700 !important;
}
}
.price-item--last {
font-size: 20px;
font-weight: 700;
}
.price-item--regular {
font-size: 14px;
font-style: italic;
}
