By Sunny on Thursday, 28 December 2017
Posted in Technical Issues
Replies 3
Likes 0
Views 1.1K
Votes 0
My Template is already using Fontawesome, but recently i noticed that easyblog is loading its own instance of font-awesome.
(media/com_easyblog/fonts/font-awesome/fontawesome-webfont.woff2?v=4.7.0)

Can you please guide how can i disable font-awesome for easy-blog and rely on template Font-awesome which is loaded globally.

regards
Sunny
Unfortunately currently we do not have an option to disable this from backend.
·
Thursday, 28 December 2017 22:21
·
0 Likes
·
0 Votes
·
0 Comments
·
Ok in that case can you point out the file in which this is being called so that I can do a local hack.
·
Thursday, 28 December 2017 23:30
·
0 Likes
·
0 Votes
·
0 Comments
·
Based on what i check, it seems like we already compiled these into this minify css file.

JoomlaFolder/components/com_easyblog/themes/nickel/styles/style-5.1.15.min.css

If you using other theme like wireframe, that file path will be :
JoomlaFolder/components/com_easyblog/themes/wireframe/styles/style-5.1.15.min.css

If your current Easyblog version is 5.1.12, that file path will be :
JoomlaFolder/components/com_easyblog/themes/nickel/styles/style-5.1.12.min.css

Open this file and find these following code.

[gist type="css"]
@font-face{font-family:'FontAwesome';src:url('../../../../../media/com_easyblog/fonts/font-awesome/fontawesome-webfont.eot?v=4.7.0');src:url('../../../../../media/com_easyblog/fonts/font-awesome/fontawesome-webfont.eot?#iefix&v=4.7.0') format('embedded-opentype'),url('../../../../../media/com_easyblog/fonts/font-awesome/fontawesome-webfont.woff2?v=4.7.0') format('woff2'),url('../../../../../media/com_easyblog/fonts/font-awesome/fontawesome-webfont.woff?v=4.7.0') format('woff'),url('../../../../../media/com_easyblog/fonts/font-awesome/fontawesome-webfont.ttf?v=4.7.0') format('truetype'),url('../../../../../media/com_easyblog/fonts/font-awesome/fontawesome-webfont.svg?v=4.7.0#fontawesomeregular') format('svg');font-weight:normal;font-style:normal}
[/gist]

Currently I am not sure if remove these code is it will affect other issue or not, but you can give it a try and see how it goes.

Make sure you have do the full backup for that original file.
·
Friday, 29 December 2017 11:49
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post