fontawesome installed.
the display of icons does not work only on the buttons of Phoca Cart, in other places it works.
please tell me what could be the reason
fontawesome icon not view
- Nidzo
- Phoca Professional
- Posts: 387
- Joined: 07 Nov 2018, 14:55
Re: fontawesome icon not view
Can you post link to your website?
- Nidzo
- Phoca Professional
- Posts: 387
- Joined: 07 Nov 2018, 14:55
Re: fontawesome icon not view
Something is messed with your FontAwesome. Try to add this code in <head></head> of your site. You can use Phoca Site plugin or if your template have option to add custom codes.
Code: Select all
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.15.4/css/all.min.css" integrity="sha512-1ycn6IcaQQ40/MKBW2W4Rhis/DbILU74C1vSrLJxCq57o941Ym01SwNsOMqvEBFlcgUa6xLiPY/NS5R+E6ztJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
- vodka
- Phoca Enthusiast
- Posts: 53
- Joined: 06 Apr 2022, 21:57
Re: fontawesome icon not view
thank.
how to use the fonts that are in joomla itself '/media/vendor/fontawesome-free/css/fontawesome.min.css'
how to use the fonts that are in joomla itself '/media/vendor/fontawesome-free/css/fontawesome.min.css'
- Nidzo
- Phoca Professional
- Posts: 387
- Joined: 07 Nov 2018, 14:55
Re: fontawesome icon not view
Try this: Go to Phoca Cart settings. At bottom of Display tab there is Theme option. Try to switch Icon type to Font awesome 4 or Font awesom 5 too see is there difference.
You can play with other options too.
You can play with other options too.
- vodka
- Phoca Enthusiast
- Posts: 53
- Joined: 06 Apr 2022, 21:57
Re: fontawesome icon not view
tried. no difference. except when choosing a bootstrap icon - all buttons shrink
- Jan
- Phoca Hero
- Posts: 48402
- Joined: 10 Nov 2007, 18:23
- Location: Czech Republic
- Contact:
Re: fontawesome icon not view
Hi, is this OK now? I see the icons on the site correctly displayed
Jan
Jan
If you find Phoca extensions useful, please support the project
- Nidzo
- Phoca Professional
- Posts: 387
- Joined: 07 Nov 2018, 14:55
Re: fontawesome icon not view
Apparently @vodka used advice from post https://www.phoca.cz/forum/viewtopic.ph ... 65#p169931
but he still wants to use integrated Font awesome
placed in media/vendor/fontawesome-free/css/fontawesome.min.css that doesn't work.
but he still wants to use integrated Font awesome
placed in media/vendor/fontawesome-free/css/fontawesome.min.css that doesn't work.
-
- Phoca Member
- Posts: 16
- Joined: 04 May 2020, 12:59
Re: fontawesome icon not view
Tray to set icon style to
font-weight: 900;
and be sure that the font-family is Font Awesome, eg.
font-family: Font Awesome 5 Free;
font-weight: 900;
and be sure that the font-family is Font Awesome, eg.
font-family: Font Awesome 5 Free;