Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #262991

    aspireiom
    Participant

    Hi,
    I’m trying to change the placeholder text color on my gravity form. They have given me the solution but I can’t get it to work when adding it to the customise css box:

    *::-webkit-input-placeholder {
    color: red;
    }
    *:-moz-placeholder {
    /* FF 4-18 */
    color: red;
    }
    *::-moz-placeholder {
    /* FF 19+ */
    color: red;
    }
    *:-ms-input-placeholder {
    /* IE 10+ */
    color: red;
    }

    http://stackoverflow.com/a/9705712

    I’m using the latest version of WP, X and Gravity. Any ideas?
    Thanks
    Richard

    #263060

    Paul R
    Moderator

    Hi Richard,

    Thanks for writing in! To assist you with this issue, we’ll first need you to provide us with your URL. This is to ensure that we can provide you with a tailored answer to your situation. Once you have provided us with your URL, we will be happy to assist you with everything.

    #263078

    aspireiom
    Participant

    Hi, many thanks – here’s the URL I’m working to fix:

    http://www.rainbeauxmedia.com/contact/

    Many Thanks!

    #263265

    Zeshan
    Member

    Hi Richard,

    Please use this code instead:

    input::-webkit-input-placeholder {
        color: red;
    }
    input:-moz-placeholder {
        /* FF 4-18 */
        color: red;
    }
    input::-moz-placeholder {
        /* FF 19+ */
        color: red;
    }
    input:-ms-input-placeholder {
        /* IE 10+ */
        color: red;
    }
    

    Hope this helps. 🙂

    Thank you.

    #265652

    aspireiom
    Participant

    That’s great, thanks!

    #265693

    Christian
    Moderator

    You’re welcome. Glad we could help. 🙂

    #358664

    jane_pattinson
    Participant

    Hi,

    I’m trying to change the placeholder text color of email field of my subscribe section. I’ve used the above CSS code but no luck.Currently its black but I need to change to white.

    #358793

    Friech
    Moderator

    Hi There,

    You can add this under Custom > CSS in the Customizer.

    ::-webkit-input-placeholder {color: #fff !important;}
    ::-moz-placeholder {color: #fff !important;}  /* Firefox 19+ */ 
    :-moz-placeholder {color: #fff !important;} /* older Firefox*/
    :-ms-input-placeholder {color: #fff !important;}

    Hope it helps, Cheers!

    #358814

    jane_pattinson
    Participant

    It worked perfectly!!! Thankyou. You guys are just awesome!!

    #358871

    Friech
    Moderator

    We’re delighted to assist you with this.

    Cheers!