0
Welcome Guest! Login
0 items Join Now

SOLVED Adding font awesome icons changes font type

  • SOLVED Adding font awesome icons changes font type

    Posted 11 years 6 months ago
    • Hi there,

      I noticed that when I add font awesome icons to my Gantry-based website, the font changes to a different one.

      The following screenshot shows how the font changes whenever an icon is added:
      This image is hidden for guests.
      Please log in or register to see it.


      It looks like this stems from the demo package of Gantry itself. In the following screenshot, showing the original content of the demo package, you can notice how the font of the words right after the icon is different from the rest:
      This image is hidden for guests.
      Please log in or register to see it.


      Have a look if you need at www.barrylong.tv/index.php/home

      Could someone please explain how I need to change the CSS so that the text font after the icon is not changed?

      Many thanks,
      Hector
    • Last Edit: 11 years 6 months ago by Hector Bolanos.
  • Re: SOLVED Adding font awesome icons changes font type

    Posted 11 years 6 months ago
    • Hello Hector,

      I've reported this bug into our system. Place this into your custom CSS file:
      html [class^="icon-"], html [class*=" icon-"] {
           font-family: Arial,Helvetica,sans-serif;
           font-weight: bold;
      }
    • Kind regards,
      Reggie

      Learn to code for free.
      www.freecodecamp.org
  • Re: SOLVED Adding font awesome icons changes font type

    Posted 11 years 6 months ago
    • Wonderful, that worked beautifully.

      Thanks a lot Reggie!

      Best,
      Hector
  • Re: SOLVED Adding font awesome icons changes font type

    Posted 11 years 6 months ago

Time to create page: 0.069 seconds