How to change the size of the buttons - by andreataylor

Solved5 replies4 participantsUpdated by Robert Hall

  • Avatar: andreataylor
    andreataylor
    Participant

    Hi there,

    We’d like to change the size of the button on the single product pages from big filled button to medium or small filled button. I couldn’t see any guidance in the documentation, but can see that is it possible from the Legenda demo. Is this something that you can help with?

    Best wishes, Andrea

    5 Answers

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Try to add this code in custom.css file:

    .single-product-page .product-info .single_add_to_cart_button {
     font-size: 12px !important;
    }

    How to create custom.css you can watch in this tutorial.

    Regards,
    Eva Kemp.

    Avatar: andreataylor
    andreataylor
    Participant

    Thanks Eva,

    That worked, thank you, but the button is now misaligned with the Add to Wishlist button.. Is it possible to fix that? The URL is: http://www.taylorstimeless.com/product/ring-1/

    Also, the button is still the same (big) size on the Quick View.

    Best wishes, Andrea

    Avatar: Jack Richardson
    Jack Richardson
    Support staff

    Hello Andrea,

    Try the following css code in custom.css:

    .wishlist-btn-container.with-styles {
      margin-top: -9px !important;
    }
    .quick-view-popup .product-info .single_add_to_cart_button {
     font-size: 12px !important;
    }

    Best regards,
    Jack Richardson.

    Avatar: andreataylor
    andreataylor
    Participant

    Perfect – many thanks indeed! Andrea

    Avatar: Robert Hall
    Robert Hall
    Participant

    Hello,

    You’re welcome!

    Regards,
    Robert Hall.

The issue related to '‘How to change the size of the buttons’' has been successfully resolved, and the topic is now closed for further responses