Cannot change cart icon - by pablostevens

This topic has 4 replies, 2 voices, and was last updated 6 years, 8 months ago ago by Rose Tyler

  • Avatar: pablostevens
    pablostevens
    Participant
    March 6, 2018 at 17:11

    Royal WP Theme ver. 4.2

    I want to change the icon from shopping bag to cart. I found the place in the theme to change this to another icon in the header settings for the theme, but it doesn’t seem to work. I put “shopping-cart” in the option and size: 25px, but it doesn’t seem to work.

    I’ve cleared my browser cache, I can see when I refresh the page, the new cart icon shows momentarily, then is immediately over written by the shopping bag again.

    I can’t figure out how to fix this. Can you help?

    3 Answers
    Avatar: pablostevens
    pablostevens
    Participant
    March 6, 2018 at 17:23

    There is some problem with the theme, that the option doesn’t work, but I found a work around if anyone else has this problem. I added this to custom CSS:

    /**********change cart icon*****/
    .cart-bag:before {
    content: “\f07a” !Important;
    display: inline-block;
    font: normal normal normal 14px/2 FontAwesome;
    font-size: inherit;
    font-size: 2em;
    top: -27px;
    left: -21px;
    color: #959B5B;
    -webkit-font-smoothing: antialiased;
    position: absolute;
    z-index: 2;
    }
    .ico-sum:after,
    .ico-sum:before,
    .horizontal-break-alt:after,
    .cart-bag .ico-sum{
    border-color:transparent !important;
    background-color:transparent !important;
    }

    Avatar: pablostevens
    pablostevens
    Participant
    March 6, 2018 at 18:20

    Another update… even though I cleared the cache…. about an hour later, the icon changed to the cart. So possibly cached somewhere else in my network. False alarm.

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    March 7, 2018 at 08:53

    Hello,

    I am glad that the problem was solved.
    Feel free to ask if you have any other questions.

    Regards

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service
We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.