Changing "fa fa-bars" for image in mobile menu

GK User
Fri Feb 26, 2016 8:07 pm
Hi,
I would like to change the "Font Awesome Icons" "fa-bars" icon that appears in the mobile menu. I would like to use an image instead.
Thanks
The website is http://www.talleresvictor.com/
User avatar
Fresh Boarder

teitbite
Tue Mar 01, 2016 10:20 am
Please add this code to override.css and make sure override is enabled in template settings.

Code: Select all
#gkMobileMenu i.fa-bars::before {
    content: "";
}

#gkMobileMenu i.fa-bars {
    background: rgba(0, 0, 0, 0) url("URL_TO_YOUR_IMAGE_GOES_HERE") repeat scroll 0 0 / 100% auto;
}
User avatar
Moderator

GK User
Tue Mar 01, 2016 11:51 am
Great job. It works fine.

What is the difference between inserting this code into override.css and enabled override in template settings and to insert this code in "Custom CSS code" in template advanced settings?

Thank you
User avatar
Fresh Boarder

teitbite
Fri Mar 04, 2016 1:01 pm
Hi

Both options are adding styles. Custom CSS field is kept in database, so updating files will not affect it, it's also used in HTML code directly so this ensure a higher priority for any code put there.
User avatar
Moderator

GK User
Sat Mar 05, 2016 1:47 am
Thank you very much !!! ;)
User avatar
Fresh Boarder

teitbite
Wed Mar 09, 2016 10:05 am
Hi
Glad I could help.
---
If You were satisfied with our support please let other users know on Twitter: http://twitter.com/gavickpro or Facebook: http://www.facebook.com/gavickpro
User avatar
Moderator

GK User
Wed Mar 09, 2016 11:01 am
Done !!! Thanks
User avatar
Fresh Boarder

teitbite
Tue Mar 15, 2016 10:57 am
Hi

Thank You. In this case there is nothing else I can add in this topic. Closing this thread now :)
User avatar
Moderator


cron
Remember me
Register New Account
If you are old Gavick user, click HERE for steps to retrieve your account.