Sorry for this basic question, but I'm having a hard time editing the size of text for the titles on the pages on my wordpress website. The html is below
<h1 class="hero-title"> COVID Visual </h1>
Sorry for this basic question, but I'm having a hard time editing the size of text for the titles on the pages on my wordpress website. The html is below
<h1 class="hero-title"> COVID Visual </h1>
Share
Improve this question
edited Mar 22, 2020 at 21:23
zach
asked Mar 22, 2020 at 20:40
zachzach
1051 silver badge5 bronze badges
3
|
1 Answer
Reset to default 1In the CSS you want to set it like this:
h1.hero-title,
h2.hero-title{
font-size: 24px;
}
Change the 24px
to whatever size actually works for you.
.entry-title, .page-title { font-size:24px; }
Obviously you'd use the font size units you pefer and adjust it to what size you want it to be, etc. – Tony Djukic Commented Mar 22, 2020 at 21:13