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

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

  • Avatar: lcribb
    lcribb
    Participant
    May 14, 2014 at 10:35

    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
    Support staff
    May 14, 2014 at 13:59

    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
    May 14, 2014 at 14:24

    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
    Support staff
    May 14, 2014 at 17:07

    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
    May 14, 2014 at 17:32

    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
    Support staff
    May 14, 2014 at 17:52

    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.

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

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

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