Viewing 9 replies - 1 through 9 (of 9 total)
  • Thread Starter ciccione82

    (@ciccione82)

    It do not work properly. Another way? Without plugin?

    • This reply was modified 7 years, 11 months ago by ciccione82.

    Perhaps your theme uses markup classes which are different to the normal WooCommerce classes.

    The other way is to write some custom css. To be able to help you with this, please post the url of your site, say which buttons you would like changed and what colours you would like.

    If you have WP 4.7, custom css is entered at:
    Dashboard > Appearance > Customise > Additional CSS

    Thread Starter ciccione82

    (@ciccione82)

    With custom css it would be perfect for me. At this page page there is a simple of what I want: The “preventivo” button is correct. The “acquista” button is not correct. I want all button like “preventivo”. Same thing here: page2 and here: page3. Also “aggiorna carrello” button here: page4.
    Can you help me please?

    • This reply was modified 7 years, 11 months ago by ciccione82.

    If you want all the buttons the same width, then the “Ritorna ai servizi legali” is the widest button. You can standardise widths and fonts with this custom css:

    .woocommerce .button,
    .btn-theme-primary,
    .sidebar .widget .search-form .search-submit {
      width:220px;
      padding: 0.625rem 1.25rem;
      text-align:center;
      font-size:13px;
      line-height:13px;
      border:0;
    }
    
    Thread Starter ciccione82

    (@ciccione82)

    No ?? I want ony the same color and hover color for all buttons like “preventivo” button. How can I do it?

    .woocommerce .button:hover,
    .woocommerce button.button:hover,
    .woocommerce button.button.alt:hover,
    .woocommerce a.button:hover,
    .btn-theme-primary:hover,
    .sidebar .widget .search-form .search-submit:hover {
      background-color:#05a0bf;
    }
    
    Thread Starter ciccione82

    (@ciccione82)

    It do not works ??

    I can’t find it in the page. If you can put it back I will try to find out why it didn’t work. The best place would be at the end of themes/onepress-child/style.css.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Change buy button color’ is closed to new replies.