WordPress.org

Forums

Virtue
[resolved] How to remove title from shopping cart item in topbar? (5 posts)

  1. debbieahuis
    Member
    Posted 9 months ago #

    Hi there,

    I am using this theme with woocommerce and I was wondering how you can remove the 'Your shopping cart' next to the shopping cart total in the topbar? I would like the text removed, but still keep the icon and total.

    Debbie

  2. .
    Member
    Posted 9 months ago #

    Could you please give us a link to your site? It's easier to solve the problem if we can actually see it.

  3. debbieahuis
    Member
    Posted 9 months ago #

    Site link: http://www.wishesfromthemoon.nl

    It is about the text next to the shopping cart icon and total in the topbar. It says: 'Jouw winkelwagen' and I would like to know if this can be removed. The site is in Dutch, but in English it would say 'Your cart'.

    Thanks!

    Debbie

  4. Kadence Themes
    Member
    Theme Author

    Posted 9 months ago #

    You can kind of do this, it's some tricky css. Add this to your custom css box in the theme options > advanced settings:

    .kad-cart-total {
    position: relative;
    }
    .cart-contents {
    text-indent: -9999px;
    min-width: 70px;
    }
    .cart-contents .amount {
    text-indent: 0;
    position: absolute;
    right: 10px;
    }
    .cart-contents .amount:before {
    font-family: FontAwesome;
    font-weight: 400;
    font-style: normal;
    text-decoration: inherit;
    -webkit-font-smoothing: antialiased;
    line-height: 1;
    text-transform: none;
    content: "\f07a";
    padding-right: 10px;
    }

    Kadence Themes

  5. debbieahuis
    Member
    Posted 9 months ago #

    Thanks Kadence Themes!

    Worked perfectly!

    Debbie

Reply

You must log in to post.

About this Theme

About this Topic