Home Forums Basel support forum Need css code to on chang add to cart button text font size and bold

Need css code to on chang add to cart button text font size and bold

Viewing 10 posts - 1 through 10 (of 10 total)
  • Author
    Posts
  • #73909

    hsianglin21
    Participant

    Hello,

    Could you provide css code to on change add to cart button text font size and to bold it?

    Thank you in advance.

    Regards,
    Alex

    #73945

    Hello,

    Please clarify which button you need to change: on a product grid or in product page?

    Best Regards

    #73953

    hsianglin21
    Participant

    product page.. if convenient can you also give me also for product grid.. easier for me..

    Thank you in advance.

    Regards,
    Alex

    #73960

    Hello,

    Here is CSS code:

    /*grid*/
    
    .basel-hover-alt .btn-add>a {
        color: #000;
        font-size:20px;
        font-weight: 700;
    }
    
    /*product page */
    
    .single_add_to_cart_button {
         font-weight: 700;
        font-size: 30px;
    }

    Change the values as per your needs and add the code to the Theme Settings > Custom CSS

    Best Regards

    #74539

    hsianglin21
    Participant

    Hello,

    Thank you for your Support.

    Could you also provide CSS codes to change text font size and to bold for the buttons at Cart Pop In (screenshot 1), Add To Cart page (screenshot 2), Checkout page (screenshot 3)?

    Thank you in advance.

    Attachments:
    You must be logged in to view attached files.
    #74553

    Hello,

    Here you are:

    .button, button, input[type=submit] {
    font-size: 18px;
    font-weight:bold;
    }

    Please change the font size and add the code to the Theme settings > custom CSS.

    Best Regards

    #74571

    hsianglin21
    Participant

    Hello,

    Thank you for your solution. However I want to have more control over each individual button text format so that I can test out the best text format for each button for my sales conversion:

    Could you provide me individual CSS codes to change text font size and to bold for each button at Cart Pop In (screenshot 1), Add To Cart page (screenshot 2), Checkout page (screenshot 3)?

    Thank you in advance.

    Attachments:
    You must be logged in to view attached files.
    #74656

    Hello,

    Here is the code:

    /*cart in widget*/
    .widget_shopping_cart .buttons a {
    font-size: 14px;
    font-weight:bold;
    }
    /*coupon*/
    .woocommerce .cart-actions .coupon .button {
    font-size: 14px;
    font-weight:bold;
    }
    /*update*/
    .woocommerce .cart-actions .button {
    font-size: 14px;
    font-weight:bold;
    }
    /*proceed to checkout*/
    .woocommerce .cart-collaterals .cart_totals .wc-proceed-to-checkout > a.button{
    font-size: 14px;
    font-weight:bold;
    }
    /*place order*/
    .woocommerce .place-order button{
    font-size: 14px;
    font-weight:bold;
    }

    Best Regards

    #74709

    hsianglin21
    Participant

    Great Support! Thank you! Appreciate your help very much!

    #74735

    You are welcome! If you have any questions please feel free to contact us.

    Best Regards

Viewing 10 posts - 1 through 10 (of 10 total)

The topic ‘Need css code to on chang add to cart button text font size and bold’ is closed to new replies.