• Rustem09

    (@rustem09)


    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?

Viewing 6 replies - 1 through 6 (of 6 total)
  • BitSin

    (@bitsin)

    I’ve also the same problem.

    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.

    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!

    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!

    Thanks

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

    thank you!

    Glad it helped ??

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Why header title is changing from bold to thin font?’ is closed to new replies.