• Resolved Ashutosh

    (@ashubetta)


    I am trying 2024 on a test site, and am quite happy with how FSE themes are shaping up. I have one particular issue with the 2024 theme – despite switching to “System sans-serif” fonts for all styles, the font “Instrument Sans” still loads on all site pages. How do I “dequeue” custom fonts from loading unnecessarily when they are not used in the theme?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Thread Starter Ashutosh

    (@ashubetta)

    Fixed

    Hey @ashubetta! I;m not sure what method did you use.

    In general, you can install Create Block Theme, and then go to Appearance > Manage Theme fonts to add/remove fonts loaded by your theme. I hope it helps for future reference ??

    Thread Starter Ashutosh

    (@ashubetta)

    Hey Kavya,

    I tried removing the font with the Create Block Theme plugin, but it didn’t show Instrument Sans. I ended up “fixing” the issue by creating a child theme, and going through theme.json to remove all the sections mentioning Instrument Sans.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom font loads despite switching to system fonts’ is closed to new replies.