Topic: Font Awesome 5
thakyZ pro asked 7 years ago
Michal Szymanski staff answered 6 years ago
Adam Stapleton pro commented 6 years ago
Hi Michal, Yeah I realise it's a big change but the new syntax does fall back to the old for the "solid" icon set so if people were really interested in using it they could probably use the solid set without many issues. Just thought it might buy you some time with an intermediate solution :)Michal Szymanski staff commented 6 years ago
Hi Adam, thank you for an advice. Have a good day!Adam Stapleton pro answered 6 years ago
<link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/solid.css" integrity="sha384-HTDlLIcgXajNzMJv5hiW5s2fwegQng6Hi+fN6t5VAcwO/9qbg2YEANIyKBlqLsiT" crossorigin="anonymous"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/regular.css" integrity="sha384-R7FIq3bpFaYzR4ogOiz75MKHyuVK0iHja8gmH1DHlZSq4tT/78gKAa7nl4PJD7GP" crossorigin="anonymous"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/brands.css" integrity="sha384-KtmfosZaF4BaDBojD9RXBSrq5pNEO79xGiggBxf8tsX+w2dBRpVW5o0BPto2Rb2F" crossorigin="anonymous"> <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.10/css/fontawesome.css" integrity="sha384-8WwquHbb2jqa7gKWSoAwbJBV2Q+/rQRss9UXL5wlvXOZfSodONmVnifo/+5xJIWX" crossorigin="anonymous">
tmurzens pro commented 6 years ago
I've upgraded to FontAwesome 5 using the SVG version. One problem is the fonts don't work the floating button, because the floating button is expecting an but it's getting an SVG. My fix is to wrap the tag in a and include this custom CSS: .btn-floating span { font-size: 1.25rem; line-height: 47px; } .btn-floating span { display: inline-block; width: inherit; text-align: center; color: #ffffff; } .btn-floating.btn-sm span { font-size: 0.96154rem; line-height: 36.15385px; } .btn-floating.btn-lg span { font-size: 1.625rem; line-height: 61.1px; }Michal Szymanski staff answered 6 years ago
landolsi pro commented 6 years ago
Thanks for the answer :-)Roman Chlebec pro commented 6 years ago
I agree switch Font Awesome 5 is painful. They changed the base pixel resolution from 14 to 16 and the font looks fat and ugly too in comaprison to previous version. Actually I'm just trying to play around with pro version of MDB and realized that our FA5 dependency we use in our backend is unusable for frontend. We will have to keep both FA versions if I want MDB look how it was intended to be.Bartłomiej Malanowski staff answered 7 years ago
lupas pro commented 7 years ago
I wish this comes ASAP :-) Squeeze it in for Christmas guys :DFREE CONSULTATION
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
Answered
- ForumUser: Pro
- Premium support: No
- Technology: General Bootstrap questions
- MDB Version: -
- Device: -
- Browser: -
- OS: -
- Provided sample code: No
- Provided link: No