My custom fonts are gone since update to 2.0

Home Forums Legacy Support Support queries Update Issues My custom fonts are gone since update to 2.0

Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • #20339
    duy87
    Spectator
    Hello, I had 3 custom fonts before when I used 1.9.9.1 version of WPLMS it worked well. have putted the codes @font-face and font family into style.css file and it worked. Now as I am using 2.0 all the fonts are gone... I have used the same way of adding custom fonts as in older wplms version,  but somehow the website won't show them anymore :( What should I do? Thanks for helping.
    #20341
    MrVibe
    Keymaster
    Please check the font paths. Try opening tha font paths in the browser.  If the font paths are correct and the fonts exist on your server there is no reason why the font swould not load .
    #21040
    duy87
    Spectator
    Please, help me.. I was trying it almost all day and could not resolve it.. if you copy any path in the attached style.css and paste it in url.. it will be downloadable.. So why my website cannot read it I dont understand. ...../wp-content/themes/wplms - in this folder is the style.css file where I pasted the font path codes. note: in older version 1.9.9.1 it all worked as it supposed to. now in 2.0 not.    
    #21254
    duy87
    Spectator
    I think I have to put the font face codes to a different style.css because I tried everything..
    #21660
    Anshuman Sahu
    Keymaster
    There may be the issue with the child theme style.css is not loading in wplms 2.0 .This is an issue and we will fix this in the next update of wplms 2.0.1 which will be released by today. To enqueue it Please use this code in childtheme/functions.php file to include your child theme's style.css file:

    wp_enqueue_style( 'wplms-child-style-css', get_stylesheet_directory_uri().'/style.css');

    #21662
    duy87
    Spectator
    but my custom fonts are not showing in PARENT wplms theme. I dont know if the modern child is having this issue as well...
    #21954
    Anshuman Sahu
    Keymaster
    Note that now style.css of main theme is not enqueued . Please either add the custom font css in your wp-admin -> appearance -> customize -> custom css OR Use the child theme and add the css for custom font in the child theme style.css .
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘My custom fonts are gone since update to 2.0’ is closed to new replies.