Home > Mobile >  Custom text colors on wordpress product page
Custom text colors on wordpress product page

Time:12-23

I am really new to all this so please keep that in mind :/

I have removed the "add to cart" button from the theme (blocksy) to be able to add my own button within the product page itself under the "short description" text (I needed 2 "download" button, one for mac one for PC). Here is the code I used in the short description :

Downloads Mac Windows

Right now the text seams to be the same color as the background (here is how it looks like : https://zerocentsaudio.com/produit/tunefish-4/

And I can not find a way to change the text color.

Thank you so much.

CodePudding user response:

You can do the following:

I hope I helped


.theme-blocksy .button:before {
  opacity:0;
}

CodePudding user response:

To be a bit precise on that particular button(s)-

.woocommerce-product-details__short-description .button {
    color: red;
    background-color: #eee;
}

.woocommerce-product-details__short-description .button:before {
    content: unset;
}
  • Related