Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #921438

    Hi guys,
    I’ve looked through +10 different support threads about this, but I can’t find a solution that works for my site.

    How do I change the color of my input fields to white, with a grey border around them?

    I have attached a link to a page where you can see the issue. The background is currently grey instead of white.
    Can you help me with this, please?

    Thanks,
    Kristian

    #921751

    Hey thaufitness,

    Nice site!  To change the input field color please try adding this code to the Quick CSS section under Enfold > General Styling or to your child theme’s style.css file:

    #top .main_color input[type='text'], 
    #top .main_color input[type='input'],
    #top .main_color input[type='email'] {
        border-color: #919191;
        background-color: #fff;
    }
    

    Best regards,
    Vinay

    #921829

    Hi Vinay,

    Thanks for the compliment. :-)

    So, I just entered the CSS code, but nothing happens at all.
    I’ve cleared the cache 4 times and tried to re-enter the code, but still the same result.

    – Kristian

    #921882

    Hi,

    Do you currently have other code in the quick css section? If so, please add Vinay’s to the very top so that it runs first. Let us know if this works.

    Best regards,
    Jordan Shannon

    #922180

    Hi Jordan,

    Honestly, I have a LOT of CSS codes in the quick CSS section (some of them might not even be relevant anymore). I added Vinay’s code to the top, but nothing changed.

    Best regards,
    Kristian

    #922262

    Hi Kristian,

    Can you give us temporary admin access to your website in the private content box below, so that we can have a closer look?

    Best regards,
    Victoria

    #922275

    Thanks, please see the private content!

    #922425

    Hi,

    I checked your site and it appears when you copied the code some of it was converted to ascii values

    I have pasted the same code again and I can see the changes on my end. Please clear the cache and review the site again :)

    Best regards,
    Vinay

    #922837

    Hi Vinay,

    Thanks a million! That did the trick, but there’s another — small — issue.
    The short input fields seem to work, but the long-form fields are still wrong.

    I’ve attached a link to my contact page, where I’ve used the contact form from Enfold.

    #922959

    Hi,

    Best regards,
    Victoria

    #923545

    Hey!

    We have added the below CSS to quick section so all the form elements have the same style applied to it.

    #top .main_color .input-text, #top .main_color input[type='text'], #top .main_color input[type='input'], #top .main_color input[type='password'], #top .main_color input[type='email'], #top .main_color input[type='number'], #top .main_color input[type='url'], #top .main_color input[type='tel'], #top .main_color input[type='search'], #top .main_color textarea, #top .main_color select {
        border-color: #919191!important;
        background-color: #fff!important;
    }

    Best regards,
    Vinay

    #923915

    Hi Vinay,

    Awesome, everything looks perfect now. Thank you so much guys!

    – kristian

    #924010

    Hi,

    I’m glad you were able to find a solution. If you need additional help, please let us know here in the forums.

    Best regards,
    Jordan Shannon

Viewing 13 posts - 1 through 13 (of 13 total)
  • The topic ‘How to change color on input fields’ is closed to new replies.