Home Forums WoodMart – Premium Template Google Font Not Working

This topic contains 7 replies, has 2 voices, and was last updated by Artem Temos Artem Temos 4 months, 3 weeks ago.

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

    Frozen
    Customer

    I have found that if I select the Google Font Baloo Thambi 2 the generated font-family is incorrect.

    Whats generated is

    font-family: Baloo Thambi 2, Arial, Helvetica, sans-serif but this is invalid

    What it needs to be is

    font-family: "Baloo Thambi 2", Arial, Helvetica, sans-serif

    Is there any way to fix this?

    Thanks,

    James

    #208315

    Hello,

    Could you please disable all plugins that are not related to our theme and provide us your admin access so we can check it?

    Thank you in advance

    #210840

    Frozen
    Customer

    Here you go.

    Anything else please let me know.

    Private Content Hidden
    #211014

    Hi,

    Try to edit the file woodmart\inc\options\controls\typography\class-typography.php and add the following line like on screenshot http://prntscr.com/ti109m

    return $rule . ': "' . $rules_array[ $rule ] . '"' . $suffix . ';';

    Regards

    #211281

    Frozen
    Customer

    Thanks for looking into this and the suggested change. While it fixed the font issue, but broke the other rules

    .product-image-summary-wrap .entry-title {
        font-family: "Baloo Thambi 2", Arial, Helvetica, sans-serif;
        font-weight: "500";
        font-size: "48"px;
    }

    So the font-weight and font-size are no longer valid.

    Thanks

    James

    #211283

    Please, send us a screenshot where you placed the code. Be sure that you did exactly as we wrote to you.

    #211325

    Frozen
    Customer

    Yes, sorry my mistake, I replaced the existing line rather than adding the new one.

    Its now working correctly!

    Many thanks

    James

    #211470

    Great, you are welcome!

Viewing 8 posts - 1 through 8 (of 8 total)

The topic ‘Google Font Not Working’ is closed to new replies.