Notice

The forum is in read only mode.

Support Forum

Welcome! Support Forums have been reactivated

Font is not recognized!

10 years 3 months ago
Licenses:
JomSocial Expired Socialize Expired

Hello
In custom.css, i custom a new font but it is not recognized :(
font-face{

font-family : "Bowhouse-Bold";

src : url('font-awesome/fonts/Bowhouse-Bold.otf'),
src: url('font-awesome/fonts/Bowhouse-Bold.eot') format('eot'),
url('font-awesome/fonts/Bowhouse-Bold.woff') format('woff'),
url('font-awesome/fonts/Bowhouse-Bold.truetype') format('truetype'),
url('font-awesome/fonts/Bowhouse-Bold.svg') format('svg');

}

Can you please help?
Thanks

10 years 3 months ago
Licenses:

Hi, Anais.

Path to font is wrong.

If custom.css folder path is: ROOT/templates/socialize/css
And font folder path is: ROOT/templates/socialize/font-awesome/fonts/

Then correct font path in css file should be: ../font-awesome/fonts/Bowhouse-Bold.otf
.. means one folder above
/font-awesome/fonts/Bowhouse-Bold.otf means that folder /font-awesome is inside /css


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
10 years 3 months ago
Licenses:
JomSocial Expired Socialize Expired

Hello Michal
Can you please have a second look to help me because i did what you say, clear my cache & the font is still not recognized?
src : url('httpdocs/templates/socialize/font-awesome/fonts/Bowhouse-Bold.otf'),
Thanks

10 years 3 months ago
Licenses:

Hi, Anais.

Your path to font was wrong. I gave you example above:

If custom.css folder path is: ROOT/templates/socialize/css
And font folder path is: ROOT/templates/socialize/font-awesome/fonts/


I just presumed - saying IF - what your font path is.

I've checked on your server and it is:

ROOT/templates/socialize/fonts/font-awesome/fonts/

../fonts/font-awesome/fonts/Bowhouse-Bold.otf

Full correct code is:
@font-face{
font-family: 'Bowhouse-Bold';
src: url('../fonts/font-awesome/fonts/Bowhouse-Bold.otf') format('opentype');
}

And I ask your patience - don't duplicate your threads... then it will take even more time as your duplicates need to be responded and closed. Be aware that customizations request are not supported and they are answered as courtesy. We just can't teach css/html/php... you know...


- Instead of saying: 'it's not working', explain the problem in detail.
- Screenshots with the URL visible in them and the problem marked are more than welcome.
- Tell us how to replicate the problem, we can't fix it if we can't find it.
- Make sure that your site/server meets JomSocial System Requirements
- Make sure to setup JomSocial Cron Job
- Always provide us with access details to the backend and ftp. We need it to debug problems.
- If you have a similar problem, but a solution you found isn't working, open a new thread instead of 'merging' with an existing one.

- Use the "Thank You" feature on any post that helped you
The following user(s) said Thank You: Anais
10 years 3 months ago
Licenses:
JomSocial Expired Socialize Expired

I get your point Michal.
Thanks as usual!

Moderators: Piotr Garasiński
Powered by Kunena Forum

Join 180,000 websites creating Amazing communities

JomSocial is the most complete, easy-to-use addon that turns Joomla CMS into a
full -fledged, social networking site

TRY NOW BUY NOW