Skip to content
Fluid Checkout
  • Demo
  • Features
  • Add-ons
    • Complete Bundle Save 42%
    • Fluid Checkout PRO
    • Google Address Autocomplete
    • Address Book
    • EU-VAT Assistant
  • Pricing PRO
  • Docs
  • Support
  • My account
0,00 € 0 items
Home / Docs / Change the icon or icon color for the cart button on mobile

How can we help?

Getting started

  • Do I need to uninstall the free version when upgrading to PRO, or is Fluid Checkout Lite required?
  • Getting Started with Fluid Checkout
  • Translate Fluid Checkout plugins into your language

Features

  • WooCommerce edit cart on checkout — change quantity or remove items from the cart directly at the checkout page
  • Trust symbols — add security badges, trust seals and other trust symbols to strategic places on the checkout, cart and order received pages
  • Order pay – optimized and intuitive design for your WooCommerce Order Pay page
  • Local Pickup — WooCommerce Local Pickup hide shipping address when local pickup is selected
  • International phone numbers — WooCommerce checkout phone number validation and formatting based on country rules
  • Express checkout — quick payment buttons for Google Pay, Apple Pay and other payment methods
  • Design templates — match your brand styles on the WooCommerce Checkout template
  • Billing address positions — choose to display billing address before shipping, inside the shipping step or force shipping and billing address to a single section
  • Account matching / user matching — associate purchases with and existing customer account without logging in

Customizations

  • Change the icon or icon color for the cart button on mobile
  • Move the “Phone” field to the contact step
  • Configure cart quantity fields for decimal quantities
  • Change fields copied from shipping address to billing address
  • Move first and last name fields to the contact step
  • Customize Local Pickup location address and use multiple pickup locations
  • Customize button colors and other button styles
  • Customize colors of elements on Fluid Checkout
  • Customize template files for WooCommerce and Fluid Checkout
  • Customize checkout steps
  • Add custom house number field and make it required
  • Customize checkout fields and adding custom checkout fields
  • Safely add code snippets to your WooCommerce website

Compatibility

  • Compatibility with plugin YITH WooCommerce Cart Messages Premium
  • Compatibility with plugin WooCommerce Delivery Slots by Iconic
  • Compatibility with plugin Mailchimp for WooCommerce
  • Compatibility with plugin WooCommerce Checkout Manager By QuadLayers
  • Compatibility with plugin Breakdance
  • Compatibility with theme Pressmart
  • Compatibility with theme Divi and the Divi Builder
  • Compatibility with WooCommerce Block-based checkout and cart forms
  • Compatibility with theme Botiga
  • Compatibility with theme Atomion
  • Compatibility with theme OceanWP
  • Compatibility with plugin Digits
  • Compatibility with plugin Storefront Powerpack
  • Troubleshooting – jQuery events or vanilla JavaScript events not working
  • Compatibility with theme ZK Nito
  • Compatibility with theme Woodmart
  • Compatibility with plugin “Plugin Organizer”

Troubleshooting

  • Troubleshooting – jQuery events or vanilla JavaScript events not working
  • Troubleshooting – Local pickup prevents customer from proving a shipping address, blocking other shipping methods
  • Troubleshooting – Trust symbols widgets randomly moving to other areas when switching themes

Account & Purchases

  • Can I get a refund for my purchase?
  • Finding my invoice, adding billing details and VAT number
  • New versions updates are not appearing on my website

Development

  • Troubleshooting – jQuery events or vanilla JavaScript events not working
  • Changelog format and semantic version numbers
  • Changelog – Fluid Checkout PRO & Lite
View Categories

Change the icon or icon color for the cart button on mobile

Fluid Checkout only provides one icon for the cart button. However, it is possible to change the icon for the cart button to match what is used for the website’s theme or any other icon.

There are a few ways to do it, which one to use will depend on how your theme’s icons are added.

Before we go through ways you can change the cart icon, there are a few things we need to keep in mind:

  1. The ideal size for icons is 24 x 24 pixels.
  2. When using icon fonts, the color of the icon will be the same as the button text, but it can be changed with CSS.
  3. When using images, no colors are changed and the image is used as-is.

Changing the color of the cart icon #

If you just want to change the color of the icon, but not which icon or image is used:

.fc-checkout-header .fc-checkout__cart-link:before {
	color: goldenrod;
}

The result will look like this:

To customize the color of the icon:

  1. Change the value of the color property to set a different color for the icon.
  2. This applies when using an icon font (see “Using icon font”)

Using an icon font to replace the cart icon #

When using a theme that uses an icon font, such Font Awesome icons, use the CSS code snippet below to change the icon for the cart button.

.fc-checkout-header .fc-checkout__cart-link:before {
	font-family: "Font Awesome 5 Free" !important;
	content: "\f290";
}

This example is based on the Divi theme and Font Awesome as the icons font. The result will look like this:

To customize which icon to use:

  1. Change the value of the font-family property to that which is appropriate for the icons font that is used by your theme. The !important directive is necessary to overwrite the value defined by Fluid Checkout.
  2. Change the value of the content property to match the icon type from the icons font.

Using images to replace the cart icon #

To replace the default icon with an image, use the CSS code snippet below.

.fc-checkout-header .fc-checkout__cart-link:before {
	content: "";
	background-image: url("https://res.cloudinary.com/webalys/image/private/w_64,h_64,ar_1/f_auto/v1/icons/cart/shopping-cart-basket-1-6vt7xu1yp3eqoday6ka7kk.png/shopping-cart-basket-1-rh3cg2d362pw2a7rqc3mb.png");
	background-size: 100% 100%;
}

This example uses a basked image from the Streamline Icons set. The result will look like this:

To customize which image to use:

  1. Change the value of the background-image property to point to the image file to display as the cart icon. The color of the icon in this case will be that of the image used.

Removing the cart icon #

In case you don’t want to use any icon for the cart button, the CSS code snippet below will remove the icon and set the spacing for the button text.

.fc-checkout-header .fc-checkout__cart-link:before {
	content: "";
	width: 0;
	margin-right: 5px;
}

The result will look like this:

Still stuck? How can we help?

How can we help?

Updated on August 15, 2023
Move the “Phone” field to the contact step
Table of Contents
  • Changing the color of the cart icon
  • Using an icon font to replace the cart icon
  • Using images to replace the cart icon
  • Removing the cart icon
Fluid Checkout

Frictionless Multi-step Checkout for WooCommerce

© 2021-2025 Fluid Checkout OÜ

Terms | Refunds | Privacy Policy | Cookies

Products
  • All products
  • Fluid Checkout PRO
  • Fluid Checkout Lite
  • Google Address Autocomplete add-on
  • Address Book add-on
  • EU-VAT Assistant add-on
Company
  • Support
  • My account
  • Careers Hiring
  • About
  • Affiliates program
  • Homepage
  • Homepage
  • Features
  • Pricing PRO
  • Docs
  • Demo
  • Support
  • My account