How customize alert box css class on my Checkout Page?

This topic has 4 replies, 2 voices, and was last updated 8 years, 6 months ago ago by Eva Kemp

  • Avatar: Webacto
    Webacto
    Participant
    October 10, 2015 at 12:04

    I have 3 checkbox in my checkout page, the actualy have the same “checkbox class” but it’ not ok.
    Look!
    http://lococostyle.com/checkout/

    I need to customize this 3 css class checkbox (without manage php)

    1. Where I will paste my new css class for “Ship to a different address?” checkbox?
    2. Where I will paste my new css class for my “Buyer (recipient)…”checkbox?
    3. Where I I will paste my new css class for “Terms & Conditions”checkbox?

    3 Answers
    Avatar: Eva
    Eva Kemp
    Support staff
    October 12, 2015 at 08:17

    Hello,

    If you have css code for those classes you need paste them in custom.css file or in Theme Options > Custom CSS > Custom CSS for desktop.

    Regards,
    Eva Kemp.

    Avatar: Webacto
    Webacto
    Participant
    October 12, 2015 at 10:05

    Hello,

    Rephrase the question more clear, I need to change the css class name referring to 3 different chechboxes and I need to know at which .php files are related.

    1. Where I will paste my new css class name for “Ship to a different address?” checkbox?
    2. Where I will paste my new css class name for my “Buyer (recipient)…”checkbox?
    3. Where I I will paste my new css class name for “Terms & Conditions”checkbox?

    Avatar: Eva
    Eva Kemp
    Support staff
    October 13, 2015 at 10:14

    Hello,

    1. You need edit the file wp-content/themes/royal/woocommerce/checkout/form-shipping.php .

    2. If you added the “Buyer (recipient)…” checkbox in functions.php file, then the class should be written in there.

    3. You need edit the file wp-content/plugins/woocommerce/templates/checkout/payment.php.

    Regards,
    Eva Kemp.

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.