Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1369192

    Hi, I’m trying tio get the Open Sans 300 to work (next to some other font weights).

    I first tried using the Open Sans from the General Styling -> fonts menu, but that doesn’t work. All the fonts with the 300 weight are in fact using the 400 weight. As an alternative, I tried using ‘Light’ instead of 300. that didn’t work either.

    After that I tried downloading the font using this website.
    I uploaded it as a zip file with the Import/Export -> Custom Font manager option.
    No result doing that either.
    When I only upload the 300 weight using this method, it works, but I’m missing the other weights.

    I tried adding the font in functions.php, but that didn’t do anything either.

    Can you help me to get it to work?

    • This topic was modified 2 years, 2 months ago by rhae.
    #1369428

    Hey rhae,
    Thanks for your patience, the Open Sans font in the theme only includes the 400 & 600 font weight, if you want to use the 300 font weight please add it to your Enfold Theme Options ▸ Import/Export ▸ Custom Font Manager separately and apply it where you wish.

    Best regards,
    Mike

    #1369441

    Hi Mike, thanks for your reply. I already did that in the current site, but it doesn’t work. The font is in the package, I’ve changed the styles to use it, but it’s not displaying correctly. If I check the font in the web inspector it says it’s using the 300 weight, but in reality it’s using the 400 weight.
    Do I have to add anything to the function.php file to be able to use it?

    #1369478

    Hi,
    Thanks for the login to your site, I see that the font you installed is for the 400 font weight:
    2022-10-19_011.png
    since you want the 300 font weight you should download it from Google Fonts, I see that the 300 is only available as the Light 300:
    2022-10-19_012.png
    I added this for you:
    2022-10-19_013.png
    I then created a test page, linked below, and applied this font to the H3 tag as a test in Enfold Theme Options ▸ Advanced Styling
    2022-10-19_015.png
    and now the font is showing at 300:
    2022-10-19_016.png
    Please clear your browser cache and check.

    Best regards,
    Mike

    #1369552

    Hi Mike, thanks for your help.
    The package I was using does contain the light version though. Below is the full set I uploaded. Isn’t this the way it’s supposed to work?
    The font you upload works, so that great, but won’t the fact that that’s only a .ttf font give me problems or slowdowns on any devices? I’m trying to use .woff2 combined with the backup types for that reason as much a possible.
    Do I have to upload every font version I want to use one by one (300, 400, 600, the italics, etc), or should a package like I generated work?

    The contents of my uploaded package:
    open-sans-v34-latin-300.eot
    open-sans-v34-latin-300.svg
    open-sans-v34-latin-300.ttf
    open-sans-v34-latin-300.woff
    open-sans-v34-latin-300.woff2
    open-sans-v34-latin-300italic.eot
    open-sans-v34-latin-300italic.svg
    open-sans-v34-latin-300italic.ttf
    open-sans-v34-latin-300italic.woff
    open-sans-v34-latin-300italic.woff2
    open-sans-v34-latin-600.eot
    open-sans-v34-latin-600.svg
    open-sans-v34-latin-600.ttf
    open-sans-v34-latin-600.woff
    open-sans-v34-latin-600.woff2
    open-sans-v34-latin-600italic.eot
    open-sans-v34-latin-600italic.svg
    open-sans-v34-latin-600italic.ttf
    open-sans-v34-latin-600italic.woff
    open-sans-v34-latin-600italic.woff2
    open-sans-v34-latin-italic.eot
    open-sans-v34-latin-italic.svg
    open-sans-v34-latin-italic.ttf
    open-sans-v34-latin-italic.woff
    open-sans-v34-latin-italic.woff2
    open-sans-v34-latin-regular.eot
    open-sans-v34-latin-regular.svg
    open-sans-v34-latin-regular.ttf
    open-sans-v34-latin-regular.woff
    open-sans-v34-latin-regular.woff2

    #1369578

    Hi,
    I guess I misunderstood, the Google Fonts only gives the fonts in .ttf, so I downloaded your font zip with the .woff fonts and used the transfonter site that Guenni007 recommended, thanks Guenni007 and created a new zip for you open-sans-woff.zip and imported it for you and now you have the multiple woff fonts:
    2022-10-20_001.png
    You can delete the other two fonts, I then changed the Enfold Theme Options ▸ Advanced Styling for H3 tags as a test, note that you must choose the font weight:
    2022-10-20_002.png
    and now on the test page the font is the 300 woff font
    2022-10-20_003.png

    Best regards,
    Mike

    #1369580

    Hi Mike, great, thanks a lot! I’m going to do some testing this weekend.

    #1369582

    Hi,
    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,
    Mike

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Open Sans 300 won't work’ is closed to new replies.