New Landing How can we help? Atelier change the border color in checkout page

Viewing 9 posts - 1 through 9 (of 9 total)
  • Posted in: Atelier
  • #325741
    micol
    Member
    Post count: 24

    how to change the border color of field form green to gray in checkout page?

    Attachments:
    You must be logged in to view attached files.
    #325771
    David Martin – Support
    Moderator
    Post count: 20834

    Hi,

    I am not sure grey would be great for your website usability, green represents a validated form field.

    You would use this CSS:

    .woocommerce form .form-row.woocommerce-validated .select2-container, 
    .woocommerce form .form-row.woocommerce-validated input.input-text, 
    .woocommerce form .form-row.woocommerce-validated select {
        border-color: grey;
    }
    #325793
    micol
    Member
    Post count: 24

    i use this code but the color not changes

    #325797
    David Martin – Support
    Moderator
    Post count: 20834

    You may need to use the CSS !important attribute.

    .woocommerce form .form-row.woocommerce-validated .select2-container, 
    .woocommerce form .form-row.woocommerce-validated input.input-text, 
    .woocommerce form .form-row.woocommerce-validated select {
        border-color: grey !important;
    }
    #325799
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779

    That was because you had an error(missing a closing bracket) in a css rule above the place where you paste David code.
    I already fixed it, clear the cache and test again.

    -Rui

    #325801
    micol
    Member
    Post count: 24

    the color do not changes…also with the new code

    #325804
    Rui Guerreiro – SUPPORT
    Keymaster
    Post count: 25779
    This reply has been marked as private.
    #325809
    micol
    Member
    Post count: 24

    ok now it’s perfect!

    #325811
    David Martin – Support
    Moderator
    Post count: 20834

    Thanks Rui.

    If you have found the theme/support useful, we appreciate it if you can leave feedback on our item if you have the time as it really helps us out.

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

You must be logged in and have valid license to reply to this topic.

License required for one of the following items
Login and Registration Log in · Register