Digital experiences for all disciplines
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › instruction to use a custom font
New Landing › How can we help? › Themeforest Theme Support › Neighborhood › instruction to use a custom font
- This topic has 39 replies, 4 voices, and was last updated 9 years by Mohammad – SUPPORT.
-
Posted in: Neighborhood
-
April 24, 2015 at 9:12 am #168020
thank you mohammed,
now: this are the files loaded on the directory path you told me (see attached image)
where can i find the path of this files?
sorry if the question seems to be stupid, but i’m not familiar at all with these things…
Attachments:
You must be logged in to view attached files.April 24, 2015 at 9:38 am #168047Hi,
Please use this custom css code:-@font-face { font-family: 'letter_gothic_l_cymedium'; src: url('http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.eot'); src: url('http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.eot?#iefix') format('embedded-opentype'), url('http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.woff2') format('woff2'), url('http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.woff') format('woff'), url('http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.ttf') format('truetype'), url('http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.svg#letter_gothic_l_cymedium') format('svg'); font-weight: normal; font-style: normal; }
Thanks
MohammadApril 24, 2015 at 9:46 am #168055thank you, but it doesn’t work…
now this is the complete CSS code i paste on custom CSS:
@font-face {
font-family: ‘letter_gothic_l_cymedium’;
src: url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.eot’);
src: url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.woff2’) format(‘woff2’),
url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.woff’) format(‘woff’),
url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.ttf’) format(‘truetype’),
url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.svg#letter_gothic_l_cymedium’) format(‘svg’);
font-weight: normal;
font-style: normal;}
// BODY FONT
body, h6 {
font-family: “letter_gothic_l_cy_medium”, 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: “letter_gothic_l_cy_medium”, Arial, Helvetica, Tahoma, sans-serif;
}April 24, 2015 at 9:49 am #168062Hi,
Please add !important for font family css rule.
Thanks
MohammadApril 24, 2015 at 9:58 am #168072it’s done See below, but it doesn’t work… maybe i’ve to add the code somewhere else?
@font-face {
font-family: ‘letter_gothic_l_cymedium’;
src: url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.eot’);
src: url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.woff2’) format(‘woff2’),
url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.woff’) format(‘woff’),
url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.ttf’) format(‘truetype’),
url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.svg#letter_gothic_l_cymedium’) format(‘svg’);
font-weight: normal;
font-style: normal;}
// BODY FONT
body, h6 {
font-family: “letter_gothic_l_cy_medium”, Arial, Helvetica, Tahoma, sans-serif; !important}
// 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: “letter_gothic_l_cy_medium”, Arial, Helvetica, Tahoma, sans-serif; !important}April 24, 2015 at 10:26 am #168100Hi,
It seems fine to me. Font are loading perfect. Where do you want to display these fonts?
Thanks
MohammadApril 24, 2015 at 10:28 am #168106i want to use this font all over the theme as a default font and headings
April 24, 2015 at 10:50 am #168118Hi,
Please change this code:-
body,h6 {
font-family: “letter_gothic_l_cy_medium”, Arial, Helvetica, Tahoma, sans-serif;!important}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: “letter_gothic_l_cy_medium”, Arial, Helvetica, Tahoma, sans-serif; !important}With this code:-
body,h6 { font-family: "letter_gothic_l_cy_medium", Arial, Helvetica, Tahoma, sans-serif !important;} 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: "letter_gothic_l_cy_medium", Arial, Helvetica, Tahoma, sans-serif !important;}
Hope it should work now.
Thanks
MohammadApril 24, 2015 at 10:58 am #168123it’s done, but nothing has changed.:(
here is the copy of all the code:
@font-face {
font-family: ‘letter_gothic_l_cymedium’;
src: url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.eot’);
src: url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.eot?#iefix’) format(’embedded-opentype’),
url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.woff2’) format(‘woff2’),
url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.woff’) format(‘woff’),
url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.ttf’) format(‘truetype’),
url(‘http://www.packagingspecialist.eu/blog/wp-content/themes/neighborhood/css/font/letter_gothic_l_cy_medium-webfont.svg#letter_gothic_l_cymedium’) format(‘svg’);
font-weight: normal;
font-style: normal;}
// BODY FONT
body,h6 {
font-family: “letter_gothic_l_cy_medium”, Arial, Helvetica, Tahoma, sans-serif !important;}// 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: “letter_gothic_l_cy_medium”, Arial, Helvetica, Tahoma, sans-serif !important;}April 24, 2015 at 11:21 am #168136Hi,
Please provide me wordpress admin login detail. I will give demo to change the fonts.
Thanks
MohammadApril 24, 2015 at 11:23 am #168137This reply has been marked as private.April 24, 2015 at 11:40 am #168147Hi,
You have wrong comment syntax for css. Like this :- // BODY FONT // HEADINGS FONT It should be like this:- /*BODY FONT*/ /*HEADINGS FONT*/
Thanks
MohammadApril 24, 2015 at 12:07 pm #168174ok, but the font i see now on the front end now is not the one i want…
April 24, 2015 at 12:27 pm #168186i removed the css from the theme options because i don’t like the font at all (i repeat: the font that appear is not the one i uploaded). The font i need is as per attached file
anyway here is a copy of the CSS. Please keep on working on it to fix the problem. thank you
/*BODY FONT*/
body,h6 {
font-family: “letter_gothic_l_cy_medium”, Arial, Helvetica, Tahoma, sans-serif !important;}/*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: “letter_gothic_l_cy_medium”, Arial, Helvetica, Tahoma, sans-serif !important;}April 26, 2015 at 11:10 am #168713I Just forward it to Mohammad so he can reply when he comes online.
Let’s wait for the reply.-Rui
-
Posted in: Neighborhood
You must be logged in and have valid license to reply to this topic.