Support › Forums › Flex Theme › Make H1, H2 and H3 tags bold
Tagged: fonts
- This topic has 6 replies, 2 voices, and was last updated 6 years ago by
chasingthedonkeY.
-
AuthorPosts
-
October 21, 2015 at 11:02 pm #609
chasingthedonkeY
Participantheya guys – how can I make all Make H1, H2 and H3 tags bold in the theme – without having to go back to each post and for all new posts?
Also, is there a way I can increase the font size of the paragraph text?
Thanks.
October 22, 2015 at 3:08 am #610Davinder Singh Kanith
ModeratorIn your style.css file:
Change this code
/* ## Headings --------------------------------------------- */ h1, h2, h3, h4, h5, h6 { color: #444; font-family: "Roboto", sans-serif; font-weight: 300; line-height: 1.2; margin: 0 0 10px; position: relative; }
to…
/* ## Headings --------------------------------------------- */ h1, h2, h3, h4, h5, h6 { color: #444; font-family: "Roboto", sans-serif; font-weight: 700; line-height: 1.2; margin: 0 0 10px; position: relative; }
P.S. Basically changing font-weight from 300 to 700
October 22, 2015 at 4:09 pm #611chasingthedonkeY
ParticipantThanks so much, that changed it a little. But I’d really like to have it BOLD if possible. Like how I made the headings bold on this page. See the sentence ‘Try it for yourself with this free 14-day trial of CoSchedule”
October 22, 2015 at 6:14 pm #612Davinder Singh Kanith
Moderator1. Change font-weight to 900.
2. Define Roboto 900 in funtions.php file.
Change this…
//* Loading Google Fonts wp_enqueue_style( 'flex-google-fonts', '//fonts.googleapis.com/css?family=Lato:300,400,700|Roboto:300,400,700', array(), '1.0.0' );
to…
//* Loading Google Fonts wp_enqueue_style( 'flex-google-fonts', '//fonts.googleapis.com/css?family=Lato:300,400,700|Roboto:300,400,900', array(), '1.0.0' );
October 22, 2015 at 6:39 pm #613chasingthedonkeY
ParticipantPerfect!! That’s exactly it. Thanks guys.
October 22, 2015 at 6:44 pm #614Davinder Singh Kanith
ModeratorWelcome.
March 20, 2017 at 9:59 pm #1591chasingthedonkeY
ParticipantHeya guys, since I had to update the new theme file, I lost so many customizations, I am trying to readd them all.
I have this page https://www.chasingthedonkey.com/croatia-travel-blog/work-with-us/ – as you can see I have some text part bold, part not bold (see the line that reads “we can work together creating’… I have in the past not been consistent with using bold in headlines, and rather than going back to all 100’s of pages I am wondering if you can help me find a way to make all h1, h2, h3 and h4 tags BOLD. No matter if I had made it bold on the page or not.. is that possible? (I now use Oswald font for headlines, but am open to change if that one won’t work) Thanks.
-
AuthorPosts
- You must be logged in to reply to this topic.