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>
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It only takes a minute to sign up.
Sign up to join this communitySorry 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>
In 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 Mar 22 '20 at 21:13