Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #694240

    Hey Kriesi Team

    > Our website is using WPML plugin
    > I want to load custom font whenever a user click on our language from WPML tab and the website is translated to that language (Farsi).
    I put this code for it, but it doesn’t seems to work:

    @font-face {
    font-family: 'IRANSans';
    src: url('fonts/IRANSansweb.eot');
    src: url('fonts/IRANSansweb.eot?#iefix') format('embedded-opentype'),
    url('fonts/IRANSansweb.woff2') format('woff2'),
    url('fonts/IRANSansweb.woff') format('woff'),
    url('fonts/IRANSansweb.ttf') format('truetype'),
    url('fonts/IRANSansweb.svg#IRANSans') format('svg');
    }
    body {
        font-family: "IRANSans" !important;
    }
    fieldset label {
        font-family: "IRANSans" !important;
    }
    input[type="submit"], h1, h4, h5, h3, h2 {
        font-family: "IRANSans" !important;
    }
    input[type='text'],
    input[type='email'],
    textarea{
        font-family: 'IRANSans' !important;
    }

    Let me know please

    Regards,
    Sadegh

    #694713

    Hi Sadegh!

    Could you please post FTP logins here privately as well? Fonts cannot be found at the moment.

    Regards,
    Yigit

    #694719

    Hey dear Yigit,

    Please find the login credentials in private area.

    Regards,
    Sadegh

    #694771

    Hey!

    Filenames were causing the issue. I have updated them and moved your custom CSS code into style.css file. Please review your website now.

    Cheers!
    Yigit

    #694909

    Hey,

    Thank you very much Yigit for the correction and updated me about the issue.
    (you may now close the thread please)

    Regards,
    Sadegh

    • This reply was modified 8 years, 2 months ago by Sadegh.
    #694993

    Hi,

    You are welcome, we are always happy to help :)

    Best regards,
    Yigit

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Custom Font Problem’ is closed to new replies.