custom css replace https: to empty

  • Resolved
    Posted in: Boldial WP  

  • Member
    ratchakrit
    November 15, 2014 at 6:06 am #5503

    Firstly I would like to use custom font then I uploaded my font to “wp-content/themes/boldial/fonts/myfont.ttf” and I place my custom css to the field like this

    @font-face {
    font-family: ‘demo-Thin’;
    src: url(‘https://www.demo.com/wp-content/themes/boldial/fonts/SukhumvitSet-Thin.eot’);
    }

    but when I save all changes the custom css above change to

    @font-face {
    font-family: ‘demo-Thin’;
    src: url(‘//http://www.demo.com/wp-content/themes/boldial/fonts/SukhumvitSet-Thin.eot‘);
    }

    you will see the https: is gone only // left.

    Please give me a suggestion.

    Or can you tell me how can I add a custom font to my website.

    Thank you.

    • This topic was modified 10 years by  ratchakrit.

    Sorry, this forum is for verified users only. Please Login / Register to continue
    or get 6 months support forum access to all forum topics for a reduced price.

Comments are closed.