Input field custom colour - by lcribb - on WordPress WooCommerce support

Solved5 replies2 participantsUpdated by Eva Kemp

  • Avatar: lcribb
    lcribb
    Participant

    Hi there

    I love the colour change of the input field border when you click into it, but is there a way to change the default border colour of my site’s entry fields?

    Thanks

    Lev

    5 Answers

    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Please provide us with a screenhot/link of which field you want to change the color.
    Thank you.

    Regards,
    Eva Kemp.

    Avatar: lcribb
    lcribb
    Participant

    Hi Eva

    It’s really for all input fields, i.e. “search products” field, “contact us” form etc. See link in the “Private content” section. Couldn’t work out how to attach a screenshot to this post.

    Thanks

    Lev

    Please, contact administrator
    for this information.
    Avatar: Eva
    Eva Kemp
    Participant

    Hello,

    Thank you for the link.
    To change color of the field border when it’s clicked you need to add this code into custom.css file:
    input[type="text"]:focus {border-color: color_name;}

    Here you can watch video tutorial how to create custom.css.

    If there is still a problem please provide us with wp-admin panel credentials.

    Regards,
    Eva Kemp.

    Avatar: lcribb
    lcribb
    Participant

    Thanks for the answer – but I probably wasn’t clear in my initial post. I’d like to change the colour it is by default, i.e. before it is clicked. In other words the way it shows on the site.

    Hope this helps?

    Thanks!

    Avatar: Eva
    Eva Kemp
    Participant

    Sorry for misunderstanding.
    You need use this code in custom.css:
    input[type="text"] {border: 1px solid color_name;}

    If you still need help please let us know.
    Regards,
    Eva Kemp.

The issue related to '‘Input field custom colour’' has been successfully resolved, and the topic is now closed for further responses