[closed] Why header title is changing from bold to thin font? (7 posts)

  1. Rustem09
    Posted 1 year ago #

    Font of header title on main page is bold, but on another pages it's not bold. What i have to do to leave it bold on all pages?

  2. BitSin
    Posted 1 year ago #

    I've also the same problem.

  3. webdevilopers
    Posted 1 year ago #

    I think you are talking about the way the "entry-title" classed <h*> tags are styled.

    If you want them to appear in the same way the appear as links in an overview you will have to change the following files in your editor:

    • content.php
    • content-page.php
    • content-single.php

    And then use the same code for all titles:
    <h2 class="entry-title"><a href="<?php the_permalink(); ?>" rel="bookmark"><?php the_title(); ?></a></h2>

    At least you will have to use the same <h*> tag which usually is <h2>, not <h1>.

    Note that adding the <a> anchor tag will mage a single content page link to itself. But that is no problem. Anyway you need the <a rel="bookmark"> to get the same CSS you desired.

  4. youndk
    Posted 1 year ago #

    i have a similar problem. i want to un-bold the main header title like the rest of the pages.

    i tried the a similar method as stated above but no luck.
    please help. thank you!

  5. Maruti Mohanty
    Posted 1 year ago #

    Hi All,

    In the home/front page it adds a h1 tag and hence the fonts look bold and in other pages it adds a div and hence does look bold.

    If you like the bold thing add the below in your child theme’s style.css file and it would be bold throughout

    .site-title {
        font-weight: bold;

    but if you like the unbold thing which appears in the rest of the page then add the below

    .site-title {
        font-weight: normal;

    and the front/home page site title will get normal.

    PS: I suggest all to use a child theme to make the changes so that the change remains even after the theme is updated.

    Hope it helps!


  6. youndk
    Posted 1 year ago #

    worked! cant believe i missed that. i got rid of the original 'font-weight' but didnt think to replace it

    thank you!

  7. Maruti Mohanty
    Posted 1 year ago #

    Glad it helped :)

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic