Font awesome weight

Hi there.
I have added a style to a woo commerce filter button (please see price filter at the top of shop page):

content:"\f105";
font-family: fontawesome;
font-weight: 400 !important;

But the font-weight remains 900 on front-end. I don’t understand why?
I do see other comments about the same in the forum, but they are from 2018 and since Font Awesome Pro is already installed (perhaps nowadays only?) I don’t understand why?

Many thanks

Hello @nblund,

Thanks for writing to us.

I checked your code on my end it seems that it is working fine at my end. It might be the issue of the server cache I would suggest you please purge all the server cache, I also notice that you are using a cache plugin, I would suggest you please purge all the cache and then temporarily deactivate the cache plugin then check it agan. Please note you must clear your browser cache or check it in the private mode of the browser. If the issue still persists please let us know so that we can check it on our end.

Thanks

Hi @prakash_s,

I emptied cache, but the font weight remains 900.
Have a look at the image.

Hello @nblund,

Please have your custom CSS code updated and use this:

content: "\f054";
font-family: "FontAwesomeRegular" !important;

You may also need to adjust the Font size to at least 14 pixels.

Best Regards.

Thanks @ruenel, appreciated !

Hi @nblund,

Glad that we are able to help you.

Thanks

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.