Creating h1, h2, h3 tags
-
Hello,
I would like to have more control over the sizes of my fonts. I am trying to add h1, h2…etc tags to my Customized CSS but the current theme is still the default.
More specifically, I would like the subheading in the banner to be assigned an <h2> with the Lato font (same as the body) but have it be bigger at 20pt.
I am able to change the font-size but the font-family defaults to Oswald.
The blog I need help with is: (visible only to logged in users)
-
More specifically, I would like the subheading in the banner to be assigned an <h2> with the Lato font (same as the body) but have it be bigger at 20pt.
If you’re referring to the words “Passion, dedication, and a lot of coffee.” – you can target its size and font family with something like:
#banner-content .inside h2 { font-size: 20px; font-family: Lato, sans-serif; }}Points are not commonly used on the web, except to designate print font sizes. You can adjust the 20px above as you like.
Let me know how it goes.
- The topic ‘Creating h1, h2, h3 tags’ is closed to new replies.