skip to Main Content

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.

3

Answers


  1. You can do the following:

    I hope I helped

    
    .theme-blocksy .button:before {
      opacity:0;
    }
    
    Login or Signup to reply.
  2. 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;
    }
    
    Login or Signup to reply.
  3. There is a content for your button before selector. Try this code to unset it.

    .theme-blocksy .button:before{
        content: unset;
    }
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search