Site logo

[Support request] Installed fonts not displaying on mobile

Home Forums Support [Support request] Installed fonts not displaying on mobile

Home Forums Support Installed fonts not displaying on mobile

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #2542840
    Rob

    Hi Iam developing this site

    https://thetwistedcurry.co.uk/wordpress/

    and have added KG Second Chances font by uploading and adding

    @font-face {
    font-family: ‘KG Second Chances Solid’;
    src: url(“https://thetwistedcurry.co.uk/wordpress/wp-content/uploads/2023/KGSecondChancesSolid.woff”) format(“woff”),
    font-weight: normal;
    font-style: normal;
    }

    to the css file

    this all works fine on desktop but does not display on mobile

    Any ideas?

    #2542857
    Greg

    Hey Rob,

    I don’t think it’s working on desktop, it’s just that you have the font installed locally so it’s showing for you. Try removing the ‘&#8221’ from your src URL, looks like it’s a random character pasted in by mistake.

    Greg

    #2542865
    Rob

    I think that random characters added when I pasted into he(@font-face {
    font-family: ‘KG Second Chances Solid’;
    src: url(“https://thetwistedcurry.co.uk/wordpress/wp-content/uploads/2023/KGSecondChancesSolid.woff”) format(“woff”),
    font-weight: normal;
    font-style: normal;
    })

    I have repasted to code into the site, still not dispalying on mobile. The font is installed on the server

    #2542896
    Greg

    Try this:

    @font-face {
    font-family: ‘KG Second Chances Solid’;
    src: url(“https://thetwistedcurry.co.uk/wordpress/wp-content/uploads/2023/KGSecondChancesSolid.woff") format(“woff”),
    font-weight: normal;
    font-style: normal;
    }
    #2542900
    Rob

    Still not working 🙁

    #2542957
    David
    Staff
    Customer Support

    Thanks Greg 🙂

    Rob, try this:

    @font-face {
        font-family: 'KG Second Chances Solid';
        src: url("https://thetwistedcurry.co.uk/wordpress/wp-content/uploads/2023/KGSecondChancesSolid.woff") format("woff");
        font-weight: normal;
        font-style: normal;
    }

    theres a couple of rouge quotemarks in the current code.

    #2543061
    Rob

    Perfecr thank you, did the trick!

Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.