• Resolved maxzambrano

    (@maxzambrano)


    Hi
    I need to change the color of the text button “View to cart” that appear after clicked on “Add to cart”.
    Can someone help me?
    Thank you

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi,

    Add this CSS code

    .added_to_cart {
    	color: #555;
    }
    
    .added_to_cart:hover {
    	color: #fff;
    	border-color: #bc9846;
    	background-color: #bc9846;
    }

    To add CSS to WordPress, you just need to:

    Navigate to Appearance > Customize in your WordPress dashboard to open the WordPress Customizer
    Select the Additional CSS option from the menu on the left in the WordPress Customizer interface:

    The (currently) empty editor in this area enables you to type in lines of CSS code, without having to sort through the existing style sheet. You can add as much CSS here as you want – just include each new snippet on its own line. Plus, you can see your changes take effect in the live preview. That way, you’ll know whether they look right before publishing them to your site.

    Additionally, this editor will help you “validate” your CSS, which is a fancy way of saying that it will warn you if you make any obvious mistakes.

    Thread Starter maxzambrano

    (@maxzambrano)

    Hi @crslz and thank you but I’ve not solved with this.
    Any other solution?

    Thread Starter maxzambrano

    (@maxzambrano)

    solved with this code:

    .product-item .product-bottom .added_to_cart, .product-item .product-bottom .added_to_cart:hover, .product-item .product-bottom .button:hover, .product-item .product-bottom .fameshop-loop-moredetail:hover {
    color: #000;
    }

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change text color to “View cart”’ is closed to new replies.