Hello I would like to remove paypal button from cart widget in sidebar
I tried this code from another thread but it didn’t worked:
.x-sidebar a#woo_pp_ec_button {
display: none;
}
Hello I would like to remove paypal button from cart widget in sidebar
I tried this code from another thread but it didn’t worked:
.x-sidebar a#woo_pp_ec_button {
display: none;
}
Hello Stella,
Thanks for writing in! The Paypal button container is using woocommerce-mini-cart__buttons buttons wcppec-cart-widget-spb. Therefore, in order to hide the button, you need this code instead:
.x-sidebar .woocommerce-mini-cart__buttons.buttons.wcppec-cart-widget-spb {
display: none
}
How did I found the class selector? You need to use the Google Chrome Developer Toolbar to check the live HTML code and find which CSS selector you need to use.
Best Regards.
I tried to do it myself with developer tools but couldn’t do it .
Thank you it worked perfectly
You’re welcome!
It’s good to know that it has worked for you.
This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.