• how do i get additional google font weights to download and be displayed in text? on the page above, in the <matches> tab, winners should be displayed in bold. however, the bold text is displayed as regular as there is no bold font style downloaded

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

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    As checked, your plugin has the below CSS code that makes any text in .winner element bold.

    .winner {
      font-weight: bold;
    }

    On my screen, it looks like this: screenshot.

    Isn’t it shown in bold on your screen? Or, perhaps, I am checking different part? Please provide a screenshot and use snipboard.io to get a shareable link to your image file.

    Thread Starter pmoffat

    (@pmoffat)

    Hi Kharis
    thats exactly what should be happening. I’ve just checked in Safari and its working correctly but in chrome for me its not great

    Hi,

    As checked, you’ll need to add specific font weight for your current Google Font. Try adding this snippet to your child theme’s functions.

    function sydney_child_add_google_fonts() {
      wp_enqueue_style( 'sydney-child-google-fonts', 'https://fonts.googleapis.com/css2?family=Source+Sans+Pro:wght@900&display=swap',array(), null );
    }
    add_action( 'wp_enqueue_scripts', 'sydney_child_add_google_fonts' );
Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘additional font weights for bidy’ is closed to new replies.