Home › Forums › Legacy Support › Support queries › Styling issues › problem with custom font
- This topic has 7 replies, 2 voices, and was last updated 9 years, 1 month ago by trapaniettech.
Viewing 8 posts - 1 through 8 (of 8 total)
-
AuthorPosts
-
October 23, 2015 at 8:34 am #4320trapaniettechSpectatorhi, 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 ? thanksOctober 23, 2015 at 2:28 pm #4526Anshuman SahuKeymasterI 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 :October 23, 2015 at 2:36 pm #4530trapaniettechSpectatorhi, 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/8ufzfaOctober 24, 2015 at 9:39 am #4683Anshuman SahuKeymasterIn 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.October 24, 2015 at 1:55 pm #4748trapaniettechSpectatorsorry 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/8us5ngOctober 26, 2015 at 10:54 am #4982Anshuman SahuKeymasterWe 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 .October 26, 2015 at 12:32 pm #5033trapaniettechSpectatorsorry 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 muchOctober 26, 2015 at 12:45 pm #5044trapaniettechSpectatori resolved using use any font plugin.... thanks hope this help
-
AuthorPosts
Viewing 8 posts - 1 through 8 (of 8 total)
- The topic ‘problem with custom font’ is closed to new replies.