• Resolved colin

    (@scot184)


    Hi,

    I want to set my H2s to a font weight of “800” using the Roboto font. When I do this in customizer, it instantly show the H2 headings get thicker, as desired.

    But once I close the customizer, the H2s go back to the default font weight of 600, at least in appearance.

    For some reason my page source code does show:

    WebFontConfig={google:{families:[“Roboto:300,400,600,800”]

    After I saw that, I tried to add code manually into the additional css field as follows:

    h2 {
      font-weight: 800;
    }

    Again, it appears thicker in customizer, though once saved goes back to default (and page source only indicates that a 300, 400, and 600 weight is being utilized.

    Any idea why my desired font weight doesn’t seem to appear?

    Thank you!

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi @scot184!

    If the default source code only shows the 300, 400 and 600 options for font weight, it could mean that the 800 option was not uploaded so the text will show with weight equal to 600 because that is the closest option that is recognized. You could try to upload the font along with the 800 weight option.

    I hope this helps!

    Thank you and have a nice day!

    Thread Starter colin

    (@scot184)

    Thank you again – turns out Roboto doesn’t use 600 or 800 weight, but does use 500 and 700 weights. Those work. Apologies for not realizing that!

    Cheers!

    Don’t worry, I am happy to help! I am glad to hear you found the issue!

    Have a wonderful day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘H2 Font Weight Changes Don’t Appear to Work’ is closed to new replies.