Navigation
This is archived content. Visit our new forum.

Tagged: 

  • Author
    Posts
  • #1409629
    Victor50000
    Participant

    Hello!

    I have changed to css for my woocommerce button.

    However, this made the “product has been added – show cart” button, that shows up once you click add to cart, look weird.

    Could you please tell me how to bring the style of this button back to normal?

    URL for example: http://repulse.digisera.se/butik/arbetsredskap/fjarrkontroll-dobbe/

    Thank you. Your service is always top!

    #1409747
    Rupok
    Member

    Hi there,

    Thanks for writing in! You are using very generic selector and it’s interfering other buttons within woocommerce. Let’s use this instead :

    .woocommerce .button.single_add_to_cart_button {
    	color: #fffafa;
    	font-size: 120%;
    	text-align: center;
    	vertical-align: 20%;
    	background-color: #40B839;
    	background-image: linear-gradient(top, #6496c8, #346392);
    	box-shadow: inset 0 0 0 1px #fffafa;
    	border: none;
    	border-radius: none;
    	margin: 0px;
    	line-height: 1,5em;
    }

    Cheers!

    #1409816
    Victor50000
    Participant

    Great, thanks alot!!

    #1409886
    Rahul
    Moderator

    You’re most welcome! 🙂

    Feel free to ask us again.

  • <script> jQuery(function($){ $("#no-reply-1409629 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>