New Landing How can we help? Themeforest Theme Support Neighborhood Shopping Bag icon – use Font Awesome

Viewing 9 posts - 1 through 9 (of 9 total)
  • #214714
    rileyiwilliams
    Member
    Post count: 39

    Hi,

    I was wondering if it’s possible to use a Font Awesome icon instead of the default bag/lock icon, as this would be better on Retina than a .png.

    fa-shopping-cart

    Thanks

    #214890
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .menu > li.shopping-bag-item a > i.sf-cart, .mobile-cart-link i.sf-cart:before{
    font-family:FontAwesome !important;
    content: "\f07a" !important;
    background:none !important;
    }

    Thanks
    Mohammad

    #214892
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    Hi,

    Add the code below to your custom css option

    i.sf-cart:before {
        content: "\f07a";
        font-family: Fontawesome;
    }
    
    .menu > li.shopping-bag-item a > i.sf-cart, .mobile-cart-link i.sf-cart {
        background: none!important;
    }

    Hope it works.

    -Rui

    #214958
    rileyiwilliams
    Member
    Post count: 39

    Thanks for that Mohammad & Rui.

    Just for anyone wanting to copy this, use Rui’s code and then add padding-right:7px.

    Cheers.

    #214966
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    We are glad that your issue resolved. Great thanks to Rui.
    Thanks
    Mohammad

    #215013
    rileyiwilliams
    Member
    Post count: 39

    Actually, if you look at my site (hereboy.com.au) the icon isn’t centred vertically. What css should I change to move it up a little bit?

    Thanks.

    #215069
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Please use this custom css code:-

    .menu > li.shopping-bag-item a > i.sf-cart, .mobile-cart-link i.sf-cart {
        vertical-align:0px !important;
       font-style:normal !important;
    }

    Thanks
    Mohammad

    #215613
    rileyiwilliams
    Member
    Post count: 39

    Thanks for that Mohammad.

    I’d like to say that you guys provide the best support out of any theme I’ve used, and as a result I always try to add one of your themes when providing clients with a shortlist.

    Thanks.

    #215615
    Mohammad – SUPPORT
    Moderator
    Post count: 27441

    Hi,
    Thanks for your kind words. Glad 🙂 to help you.
    Mohammad

Viewing 9 posts - 1 through 9 (of 9 total)

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register