WordPress.org

Forums

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

  1. debbieahuis
    Member
    Posted 2 years 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 2 years 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 2 years 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 2 years 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 2 years ago #

    Thanks Kadence Themes!

    Worked perfectly!

    Debbie

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic