• Resolved swy2017

    (@swy2017)


    Hi, the text on the payment button won’t change to bold, the css code I am using works with all my other buttons. Please could you help me to change the text to bold or weight 900. This is the CSS custom code I am using:

    .mybtn2 {
    font-weight: bold;
    }

    Have also tried:

    .mybtn2 {
    font-weight: 900;
    }

Viewing 3 replies - 16 through 18 (of 18 total)
  • Plugin Contributor Alexander C.

    (@alexanderfoxc)

    Hi Simon.

    To center terms and conditions, you need to add following CSS code to you theme’s style.css:

    div.asp_product_tos_input_container {
    text-align:center;
    }

    Correct code to make all payment buttons text bold is this:

    div.asp_product_buy_button button span {
    font-weight: bold;
    }

    You can also make your button’s width not to be 100% as it looks kinda weird in my opinion. In order to make them normal width but centered, following code should be added to page:

        div.asp_product_buy_button {
            text-align: center;
        }
        div.asp_product_buy_button button {
            width: auto;
        }

    This is just basic CSS coding, so your webdev can do that for you within like 5 mins 😉 Since there is a bunch of various themes, we can’t make the buttons look the same on every site. So some tweaks required on per-site basis anyway.

    Thread Starter swy2017

    (@swy2017)

    Alexander, thank you for the above code! It has worked perfectly and I have amended the buttons across the site. I’m doing as much on the site on my own so really appreciate the support you have given.
    Kind regards
    Simon

    Plugin Contributor Alexander C.

    (@alexanderfoxc)

    No problem! 🙂 Let us know if we can assist any further.

Viewing 3 replies - 16 through 18 (of 18 total)

The topic ‘Button Styling CSS Query’ is closed to new replies.