0
Welcome Guest! Login
0 items Join Now

Use FontAwesome in the CSS

    • NosyWeb's Avatar
    • NosyWeb
    • Sr. Rocketeer
    • Posts: 184
    • Thanks: 0

    Use FontAwesome in the CSS

    Posted 6 years 5 months ago
    • Hello,

      Is it possible to use FontAwesome in the custom.scss file ?

      For example, you would like to put :
      #activites ul li::before {
          content: "\f054";
      }

      But it seems it doesn't work.

      Thanks for your help.

      Regards.
    • Discover our french Joomla Magazine and our french Joomla videos tutorials
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 20637
    • Thanks: 2932
    • messin' with stuff

    Re: Use FontAwesome in the CSS

    Posted 6 years 5 months ago
    • is the FontAwesome font-family being specific anywhere for that particular HTML element?
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics :woohoo:
    • NosyWeb's Avatar
    • NosyWeb
    • Sr. Rocketeer
    • Posts: 184
    • Thanks: 0

    Re: Use FontAwesome in the CSS

    Posted 6 years 5 months ago
    • Matt's Avatar
    • Matt
    • Preeminent Rocketeer
    • Posts: 20637
    • Thanks: 2932
    • messin' with stuff

    Re: Use FontAwesome in the CSS

    Posted 6 years 5 months ago
    • right... FontAwesome is indeed a font... so you need to specify the font

      #activites ul li::before {
      content: "\f054";
      font-family: FontAwesome;
      }
    • SEARCH the forum first! These boards are rich in knowledge and vast in topics :woohoo:

Time to create page: 0.110 seconds