problem with custom font

Home Forums Legacy Support Support queries Styling issues problem with custom font

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #4320
    trapaniettech
    Spectator
    hi, the custom font don't work. In local yes, but in WPLMS no. i upload the font in folder of server. i insert this code in style.css file : @font-face { font-family: 'Conv_ufonts.com_dakota-regular'; src: url('https://dentaldigit.com/wp-content/themes/wplms/font/ufonts.com_dakota-regular.eot'); src: local('☺'), url('https://dentaldigit.com/wp-content/themes/wplms/font/ufonts.com_dakota-regular.woff') format('woff'), url('https://dentaldigit.com/wp-content/themes/wplms/font/ufonts.com_dakota-regular.ttf') format('truetype'), url('font/ufonts.com_dakota-regular.svg') format('svg'); font-weight: normal; font-style: normal; } i insert this in font manages..... i select in dropdown the font but don't work.... Can you help me ? thanks
    #4526
    Anshuman Sahu
    Keymaster
    I tested this on our test site and it seems to be working fine at my end . refer : http://prntscr.com/8ufuvq Please check the css file in which you have added the code . Try adding it from wp-admin -> appearance ->customize ->custom css :
    #4530
    trapaniettech
    Spectator
    hi, sorry, but don't work in your end... the font is this : http://prntscr.com/8ufxbr i insert in custom css but nothing change .homeparallax h1 { font-family: 'Conv_ufonts.com_dakota-regular'; } in local instead works : http://prntscr.com/8ufzfa
    #4683
    Anshuman Sahu
    Keymaster
    In local check the font family name, make sure you use the same font family name for live site. Also, there could be an issue with the font files, to confirm this try using another font files. Apart from above two reasons there is no reason why this should not work. We have tested the issue most likely could be with the font files/paths or with the font name.
    #4748
    trapaniettech
    Spectator
    sorry but i try with another font. i download from fontsquirrel. in style.css i insert : @font-face { font-family: 'alex_brushregular'; src: url('https://dentaldigit.com/wp-content/themes/wplms/font/fontdiprova/alexbrush-regular-webfont.eot'); src: url('https://dentaldigit.com/wp-content/themes/wplms/font/fontdiprova/alexbrush-regular-webfont.eot?#iefix') format('embedded-opentype'), url('https://dentaldigit.com/wp-content/themes/wplms/font/fontdiprova/alexbrush-regular-webfont.woff2') format('woff2'), url('https://dentaldigit.com/wp-content/themes/wplms/font/fontdiprova/alexbrush-regular-webfont.woff') format('woff'), url('https://dentaldigit.com/wp-content/themes/wplms/font/fontdiprova/alexbrush-regular-webfont.ttf') format('truetype'), url('https://dentaldigit.com/wp-content/themes/wplms/font/fontdiprova/alexbrush-regular-webfont.svg#alex_brushregular') format('svg'); font-weight: normal; font-style: normal; } i insert the font in code, but don't work..... i attach the font ... you can try in your demo ? the font is : http://prntscr.com/8us5bv but i see : http://prntscr.com/8us5ng
    #4982
    Anshuman Sahu
    Keymaster
    We followed the same tip as : https://www.youtube.com/watch?v=5bW-7CMMzDw and tried including the fonts in our test site. refer : http://prntscr.com/8vgoq3 Please check the paths of your font files if they are accessible or not  .Also please add the css part of the fonts inside the style.css file of the child theme and upload your font files in your wp-content\themes\wplms_modern\assets\css\fonts  folder adn provide the correct path like  : " src: url('fonts/alexbrush-regular-webfont.eot'); " according to the style.css file  .
    #5033
    trapaniettech
    Spectator
    sorry but i don't understand.... the path is correct... infact if you try to insert the url : https://dentaldigit.com/wp-content/themes/wplms/css/fonts/alex/alexbrush-regular-webfont.eot the file is downloaded correctly so the path is correct. i insert the font in font manager like the video and insert in customize dropdown and refresh the page, but nothing.... you can check you in my site ? Thanks so much
    #5044
    trapaniettech
    Spectator
    i resolved using use any font plugin.... thanks hope this help
Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘problem with custom font’ is closed to new replies.