• Hi,

    I’m using the Flat theme by YoArts. I’d like to make the following changes:

    – the site title font family (currently Amatic SC)
    – the font family & size for Page links (e.g. “About”). I’m currently not even sure which heading tag it is (h2 or…)
    – the font size & weight for the global font (the text of each post). I’d like to change it from PT Sans to Open Sans with a font weight of 400, but in Customize, I can only change the font-family (and it defaults to a weight of 300)
    – the post sub-heading font family and size (e.g. the date of each post, directly under post title), currently “Dosis” at 12px.

    Basically, there are a million fonts on this page, and I’d like to make the font choices more coherent.

    In the theme Customize options, I can change the Global, Heading and Sub-heading font families by choosing from limited options, and I can’t modify the size, weight, etc.

    I created a child theme. To change the title font family, for example, I tried putting into the child stylesheet:

    #masthead .site-title {
        font-family: "PT Sans";
        font-size: 50px;
        line-height: 50px;
    }

    after

    @import url("../flat-master/style.css");

    but it doesn’t work. The normal theme stylesheet doesn’t have any real CSS in it, just a theme description blocked off as a comment.

    My site is kat e wai dot com (no spaces and the dot is a period, obviously)

    Thank you!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi, are you still having issues?
    I checked your site, and see that you styles are being applied:

    #masthead .site-title {
    font-family: "PT Sans";
    font-size: 50px;
    line-height: 50px;
    margin: 0;
    padding: 30px 0;
    text-align: center;
    }

    I’m sorry but as you appear to be using a non-WPORG theme, you need to seek support from the theme’s developers – paid or otherwise. We only support themes downloaded from wordpress.org here.

    Thread Starter dubberish

    (@dubberish)

    Hm… really? I don’t see the styles applied. I still see the site title (my name) in “Amatic SC” font, not PT Sans. (“Amatic” is one of the theme font options for the site title, under Customize… “PT Sans” is not a theme option for the title — that’s what I’m trying to change.)

    That’s the only CSS I’ve tried to change so far in the child theme stylesheet. I haven’t tried to change the others because I’m not sure if that CSS code is correct, and what I’d use instead of
    #masthead .site-title {
    to specify the Page links and the sub-heading.

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Modifying site title font and global font weight’ is closed to new replies.