FontAwesome
2 posts by 2 authors in: Forums > CMS Builder
Last Post: November 1, 2016 (RSS)
By KennyH - November 1, 2016
I love the addition of FontAwesome in the menu items. It seems that the version 4.7 icons will not show up. I am assuming that only a previous version of the icons will show up as most of the version 3.X icons have no problems.
1. Is there a way to update the program to read 4.7+ icons?
2. When I use them on a website, I use the CDN. Since with CDN, I get a unique embed code, it automatically upgrades to the latest version of Font Awesome without pushing any code. In future version of CMSB, maybe a spot to add the CDN code would be great.
Thanks!
Kenny
By Damon - November 1, 2016 - edited: November 1, 2016
Hi Kenny,
1. Is there a way to update the program to read 4.7+ icons?
Yes, you can update some of the fontawesome files and URL to fontawesome CSS in the code. Make backups of any changes first.
Download the fontawesome files from the site here:
http://fontawesome.io/
Copy the /font-awesome-4.7.0/css/font-awesome.min.css
to
/cmsb/3rdParty/clipone/plugins/font-awesome/css/font-awesome.min.css
Copy /font-awesome-4.7.0/fonts/* all files
to
/cmsb/3rdParty/clipone/plugins/font-awesome/fonts/* all files
Open and edit /cmsb/lib/menus/header_css.php
On line 10, change this:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.6.3/css/font-awesome.min.css">
to this:
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css">
2. When I use them on a website, I use the CDN. Since with CDN, I get a unique embed code, it automatically upgrades to the latest version of Font Awesome without pushing any code. In future version of CMSB, maybe a spot to add the CDN code would be great.
Good idea. I will pass this on to the internal development team. Would probably need a fallback solution as well for users that want icons to work "right out of the box".
Thanks!
Damon Edis - interactivetools.com
Hire me! Save time by getting our experts to help with your project.
http://www.interactivetools.com/consulting/