I am using the theme “Debut”.
h2 tag is smaller than h3 tag. I want to change the css of h2 tag only for the blog.
What should I do?
If possible, I would like to apply my own CSS only to the blog CSS, not just the h2 tag.
I am using the theme “Debut”.
h2 tag is smaller than h3 tag. I want to change the css of h2 tag only for the blog.
What should I do?
If possible, I would like to apply my own CSS only to the blog CSS, not just the h2 tag.
Please share your store blog URL.
You can add the following code at the bottom of your assets/theme.scss.liquid file.
body.template-article h2 {
font-size: 22px !important;
}
This works for blog page h2 only. The above code I have given 22px font size you can change it as per your need.
Thanks!
I tried to underline it using that code, but h2 was also applied to the shop logo, and the appearance changed.
Is it possible to apply the code only to the text of the blog?
Please follow the steps: