Icons loaded as fonts?

GK User
Fri Feb 20, 2015 11:49 pm
The icons on the home page are loaded as fonts. I've found the code that does it ie

Code: Select all
<i class="gk-icon-dinner-set-solid"></i>


Makes the dinner set icon appear. When I look for the CSS that controls this, I can't seem to find it. I have used the Web-developer add-on and element inspector but I can not see a reference to an icon-type font or any images.

Hence I am at a loss. Can someone help explain to me how it comes together? :-)
User avatar
Fresh Boarder

GK User
Sat Feb 21, 2015 1:43 am
Hi,
those "food" icons are from font called "steakhouse-pixellove"

templates\gk_steakhouse\fonts\steakhouse-pixellove
and their class names are here
templates\gk_steakhouse\css\gk.stuff.css (starting from line 53)
User avatar
Platinum Boarder

GK User
Sun Feb 22, 2015 8:36 pm
Many thanks, this is what I was looking for
User avatar
Fresh Boarder

GK User
Sun Feb 22, 2015 9:14 pm
of course you can also use "font awesome" instead, there are too also.
User avatar
Platinum Boarder

GK User
Mon Feb 23, 2015 7:01 am
Ok two quick questions. How do I add and use "font awesome" and where do I find a sample of what they look like?
User avatar
Fresh Boarder

GK User
Mon Feb 23, 2015 10:25 am
#1 : there are already there: temlates\gk_steakhouse\fonts\font-awesome
FontAwesome v4.2
and they are loaded (or should be by default)
User avatar
Platinum Boarder

GK User
Mon Feb 23, 2015 10:29 am
and where do I find a sample of what they look like

There are not GK fonts, so as always on project website
but in our demo there are also : https://demo.gavick.com/joomla25/steakh ... typography
at the end (scroll to see "Icons - Font Awesome" section).

Use:
<i class="fa fa-vimeo-square"></i>
to get vimeo icon etc.
User avatar
Platinum Boarder

GK User
Mon Feb 23, 2015 9:56 pm
Thanks - Awesome :-)
User avatar
Fresh Boarder

GK User
Mon Feb 23, 2015 10:49 pm
of course if those extra fonts are still not enough ....
you can use addcional fonts which have better icon collections

general tip: https://www.gavick.com/documentation/jo ... ional-font
User avatar
Platinum Boarder

GK User
Tue Feb 24, 2015 6:54 pm
Now I figured out, how to use font-awesome fonts. But what I need is an icon for a hotel room.

Font awesome has a bed icon in its collection, fa-bed. But when I use fa-bed it doen't appear. Other font awesome icons do appear.

What to do to fix this problem?

And how to make font awesome font react as the other icons on mouseover.

Thanks.

http://www.fyue.de/klettergarten-aicha
User avatar
Fresh Boarder

GK User
Tue Feb 24, 2015 9:03 pm
All clear "40 New Icons in 4.3" and we have v4.2

and "fa-bed" is too new icon and wasn't included in our version of AwesomeFonts yet.
User avatar
Platinum Boarder

GK User
Tue Feb 24, 2015 9:04 pm
if you have "skills" you can upgrade Font Awesome collection manually using new version of files.
User avatar
Platinum Boarder

GK User
Wed Feb 25, 2015 8:58 pm
Thanks.

I now replaced all font awesome font files and the fontawesome.css file by the newer versions.

But now font awesome doesn't work at all.

Is there s.th. else I have to change?
User avatar
Fresh Boarder

GK User
Wed Feb 25, 2015 9:27 pm
Sorry but those customization are without GK warranty, you made them for your own risk.
just recover old one from template.
User avatar
Platinum Boarder


cron