New Landing How can we help? Themeforest Theme Support Neighborhood Changing Shopping Cart Icon

Viewing 11 posts - 16 through 26 (of 26 total)
  • #71451
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Hi

    Open up sf-header.php and find line 714:

    $cart_output .= '<li class="parent shopping-bag-item"><a class="cart-contents" href="'.$woocommerce->cart->get_cart_url().'" title="'.__("View your shopping cart", "swiftframework").'"><i class="sf-cart"></i>'.$cart_total.'</a>';

    You will need to replace sf-cart

    – Kyle

    #71651
    charnold
    Member
    Post count: 9

    Thanks, Kyle!

    #71697
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    No problem ๐Ÿ™‚

    #94301
    Sand
    Member
    Post count: 33

    hi kyle – i tried to use css but can’t seem to get it to work – shows up blank

    .menu > li.shopping-bag-item a > i.sf-cart, .mobile-cart-link i.sf-cart {
    background: url(“uploads/2014/07/picnic2_32x32.png”) no-repeat scroll left top rgba(0, 0, 0, 0);
    nav .menu li {
    margin: 0;
    }
    http://digitaldevotee.com/dinosauro/wp-content/uploads/2014/07/picnic2_32x32.png

    any tips on icon size of icon etc?

    #94308
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Add this to your custom css:

    .menu > li.shopping-bag-item a > i.sf-cart, .mobile-cart-link i.sf-cart {
      background: url("http://digitaldevotee.com/dinosauro/wp-content/uploads/2014/07/picnic2_32x32.png") no-repeat scroll left top transparent;
      display: inline-block;
      height: 32px;
      margin-right: 6px;
      vertical-align: -7px;
      width: 32px;
    }
    .cart-contents {
      padding-top: 0!important;
    }

    – Kyle

    #95225
    Sand
    Member
    Post count: 33
    This reply has been marked as private.
    #95230
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Try this:

    nav .menu li {
      margin: 0;
    }
    .shopping-bag-item .cart-contents {
      padding: 10px 0!important;
    }

    – Kyle

    #95235
    Sand
    Member
    Post count: 33
    This reply has been marked as private.
    #95265
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Finally add:

    .mini-menu .shopping-bag-item .cart-contents {
      padding: 0!important;
    }
    

    – Kyle

    #96394
    Sand
    Member
    Post count: 33

    perfect!

    #96396
    Kyle – SUPPORT
    Moderator
    Post count: 35880

    Great! ๐Ÿ™‚

Viewing 11 posts - 16 through 26 (of 26 total)

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

License required for the following item
Login and Registration Log in · Register