Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Dante › Custom fonts into Dante doesn't work
New Landing › How can we help? › Themeforest Theme Support › Dante › Custom fonts into Dante doesn't work
- This topic has 10 replies, 2 voices, and was last updated 8 years by Kyle – SUPPORT.
-
Posted in: Dante
-
January 27, 2016 at 2:52 pm #244165
Hello support team,
Please help me this issue. “Custom fonts into Dante doesn’t work”
I’ve tried many previous dante documents and found it doesn’t work to me.here’s the code I added into Theme options > Custom CSS
/* Generated by Font Squirrel (http://www.fontsquirrel.com) on January 27, 2016 */ @font-face { font-family: 'rsulight'; src: url('rsu_light-webfont.eot'); src: url('rsu_light-webfont.eot?#iefix') format('embedded-opentype'), url('rsu_light-webfont.woff2') format('woff2'), url('rsu_light-webfont.woff') format('woff'), url('rsu_light-webfont.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'rsuregular'; src: url('rsu_regular-webfont.eot'); src: url('rsu_regular-webfont.eot?#iefix') format('embedded-opentype'), url('rsu_regular-webfont.woff2') format('woff2'), url('rsu_regular-webfont.woff') format('woff'), url('rsu_regular-webfont.ttf') format('truetype'); font-weight: normal; font-style: normal; } @font-face { font-family: 'rsubold'; src: url('rsu_bold-webfont.eot'); src: url('rsu_bold-webfont.eot?#iefix') format('embedded-opentype'), url('rsu_bold-webfont.woff2') format('woff2'), url('rsu_bold-webfont.woff') format('woff'), url('rsu_bold-webfont.ttf') format('truetype'); font-weight: normal; font-style: normal; } // BODY FONT body, h6 { font-family: "rsulight", Arial, Helvetica, Tahoma, sans-serif; } // HEADINGS FONT h1, h2, h3, h4, h5, .custom-caption p, span.dropcap1, span.dropcap2, span.dropcap3, span.dropcap4, .spb_call_text, .impact-text, .impact-text-large, .testimonial-text, .header-advert, .sf-count-asset .count-number, #base-promo, .sf-countdown, .sf-icon-character, .fancy-heading h1 { font-family: "rsubold", rsuregular, Arial, Helvetica, Tahoma, sans-serif; }
Also I attach some more SS shot.
Appreciate,
OzzyMacAttachments:
You must be logged in to view attached files.January 27, 2016 at 3:25 pm #244186Hi
Have you tried adding !important
– Kyle
January 27, 2016 at 7:11 pm #244275Thanks for you reply Kyle,
I just add !important and still doesn’t work. please check the code for me if i do it right or wrong.// BODY FONT body, h6 { font-family: "rsulight", Arial, Helvetica, Tahoma, sans-serif !important; font-weight: normal; font-style: normal; } // HEADINGS FONT h1, h2, h3, h4, h5, .custom-caption p, span.dropcap1, span.dropcap2, span.dropcap3, span.dropcap4, .spb_call_text, .impact-text, .impact-text-large, .testimonial-text, .header-advert, .sf-count-asset .count-number, #base-promo, .sf-countdown, .sf-icon-character, .fancy-heading h1 { font-family: "rsubold", rsuregular, Arial, Helvetica, Tahoma, sans-serif !important; font-weight: normal; font-style: normal; }
Appreciate,
OzzyMacJanuary 28, 2016 at 11:25 am #244408Looks like the path to the fonts is incorrect: http://d.pr/i/18FSh/4hbHk8gE
– Kyle
January 28, 2016 at 12:34 pm #244449Thanks Kyle,
I fixed the path to the fonts and it work but only on the front pages. Please check and help me for set this custom fonts in every part of sites.
Regards,
OzzyMacJanuary 28, 2016 at 12:48 pm #244459For the path put the full url starting from http://
– Kyle
January 28, 2016 at 1:32 pm #244491Thanks Kyle,
I’ll fix it again but if it possible to put custom fonts into the theme options so I can go setting anytime I like later on.Appreciate,
OzzyMacJanuary 28, 2016 at 1:36 pm #244498Not currently
– Kyle
January 28, 2016 at 3:40 pm #244553Hello again Kyle,
I have 2 questions.1. what do you mean by > For the path put the full url starting from http:// < ? you mean the full wordpress admin url path?
2. About Theme options > Font options .. There is no Thai options dropdown menu. see pics. Is there any other way to use them?
Thanks,
Attachments:
You must be logged in to view attached files.January 28, 2016 at 5:10 pm #244585Question 1, put the right full path, is alright now.
Still need the answer in question 2.
Thanks.
January 28, 2016 at 5:11 pm #244587Not sure on this, will forward to my colleague
– Kyle
-
Posted in: Dante
You must be logged in and have valid license to reply to this topic.