Hi, I am trying to install a custom font needed for YMCA websites called Cachet.
1) I have added the three custom fonts to the fonts folder as .woff files
2) I have added a custom.css file in the j51_sophia/CSS folder that includes the following
h1 {
font-size: 34px;
}
h2 {
font-size: 28px;
}
h3 {
font-size: 24px;
}
@font-face {
font-family: 'Cachet-Book';
src: url('//http://www.wcfymca.org/39/templates/j51_sophia/fonts/Cachet-Book.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Cachet-Medium';
src: url('//http://www.wcfymca.org/39/templates/j51_sophia/fonts/Cachet-Medium.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Cachet-Bold';
src: url('//http://www.wcfymca.org/39/templates/j51_sophia/fonts/Cachet-Bold.woff') format('woff');
font-weight: normal;
font-style: normal;
}
body {
font-family: Cachet-Book !important;
}
h1 {
font-family: Cachet-Bold !important;
}
h2 {
font-family: Cachet-Medium !important;
}
I'm needing the h1/h2 and body section to use the Cachet font but it doesn't seem to be showing for me.
Website is http://www.wcfymca.org/39
Thanks in advance
Dan
- danneel
- Commercial Templates
- Wednesday, 29 May 2019
- Subscribe via email
Hello
To amend try replacing the font-face CSS with the following...
Ciaran
To amend try replacing the font-face CSS with the following...
@font-face {
font-family: 'Cachet-Book';
src: url('//http://www.wcfymca.org/39/templates/j51_sophia/fonts/Cachet-Book.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Cachet-Medium';
src: url('//http://www.wcfymca.org/39/templates/j51_sophia/fonts/Cachet-Medium.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Cachet-Bold';
src: url('//http://www.wcfymca.org/39/templates/j51_sophia/fonts/Cachet-Bold.woff') format('woff');
font-weight: normal;
font-style: normal;
}
Ciaran
- more than a month ago
- Commercial Templates
- # 1
Hi Ciaran,
Thanks for the info. I have replaced the above into the custom.css file and selected "Load Custom CSS" as yes, but I don't see the new font on the site. Thanks in advance for the assistance. Getting custom fonts to work is kicking my ass..
Thanks for the info. I have replaced the above into the custom.css file and selected "Load Custom CSS" as yes, but I don't see the new font on the site. Thanks in advance for the assistance. Getting custom fonts to work is kicking my ass..
- more than a month ago
- Commercial Templates
- # 2
Hello
May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.
Ciaran
May I suggest sending temporary administration access to your Joomla installation to info@joomla51.com and we will examine this issue further. For our reference please paste a link to this post in your email.
Ciaran
- more than a month ago
- Commercial Templates
- # 3
Thank you
We have updated your custom CSS and your font appears to be now loading correctly.
Ciaran
We have updated your custom CSS and your font appears to be now loading correctly.
Ciaran
- more than a month ago
- Commercial Templates
- # 4
Hi Ciaran,
I just checked the fonts on the site (the body and the h1 and h2 headings) and it seems they aren't using the Cachet fonts. Can you take another look at the body font. thanks
Dan
I just checked the fonts on the site (the body and the h1 and h2 headings) and it seems they aren't using the Cachet fonts. Can you take another look at the body font. thanks
Dan
- more than a month ago
- Commercial Templates
- # 5
Hi Dan
To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....
Ciaran
To amend try adding the following to the Custom CSS field of your templates parameters (Extensions -> Templates -> [YourTemplateStyle] -> Custom CSS)....
h2, h2 a:link, h2 a:visited {
font-family: Cachet-Medium !important;
}
Ciaran
- more than a month ago
- Commercial Templates
- # 6
Thanks Ciaran,
I have added that to my custom.css file located within the CSS folder of the template I'm using. I have attached the CSS I'm using below
Still showing the body font as a default system font versus the Cachet Medium font.
thanks in advance
Dan
h1 {
font-size: 34px;
}
h2 {
font-size: 28px;
}
h3 {
font-size: 24px;
}
@font-face {
font-family: 'Cachet-Book';
src: url('//http://www.wcfymca.org/39/templates/j51_sophia/fonts/Cachet-Book.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Cachet-Medium';
src: url('//http://www.wcfymca.org/39/templates/j51_sophia/fonts/Cachet-Medium.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Cachet-Bold';
src: url('//http://www.wcfymca.org/39/templates/j51_sophia/fonts/Cachet-Bold.woff') format('woff');
font-weight: normal;
font-style: normal;
}
body {
font-family: Cachet-Book !important;
}
h1 {
font-family: Cachet-Bold !important;
}
h2 {
font-family: Cachet-Medium !important;
}
h2, h2 a:link, h2 a:visited {
font-family: Cachet-Medium !important;
}
I have added that to my custom.css file located within the CSS folder of the template I'm using. I have attached the CSS I'm using below
Still showing the body font as a default system font versus the Cachet Medium font.
thanks in advance
Dan
h1 {
font-size: 34px;
}
h2 {
font-size: 28px;
}
h3 {
font-size: 24px;
}
@font-face {
font-family: 'Cachet-Book';
src: url('//http://www.wcfymca.org/39/templates/j51_sophia/fonts/Cachet-Book.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Cachet-Medium';
src: url('//http://www.wcfymca.org/39/templates/j51_sophia/fonts/Cachet-Medium.woff') format('woff');
font-weight: normal;
font-style: normal;
}
@font-face {
font-family: 'Cachet-Bold';
src: url('//http://www.wcfymca.org/39/templates/j51_sophia/fonts/Cachet-Bold.woff') format('woff');
font-weight: normal;
font-style: normal;
}
body {
font-family: Cachet-Book !important;
}
h1 {
font-family: Cachet-Bold !important;
}
h2 {
font-family: Cachet-Medium !important;
}
h2, h2 a:link, h2 a:visited {
font-family: Cachet-Medium !important;
}
- more than a month ago
- Commercial Templates
- # 7
Hi Dan
Checking your site in Firefox, all text appears to be using the Cachet font. Could you possibly be loading a cached version of your site?
Ciaran
Checking your site in Firefox, all text appears to be using the Cachet font. Could you possibly be loading a cached version of your site?
Ciaran
- more than a month ago
- Commercial Templates
- # 8
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »