Streaming live at 10am (PST)

Problem with custom CSS in email form


#1

Hello,

I am having some issues when trying to change the colour of the placeholder text of the email form (see image attached). I have tried to add custom CSS code in Webflow but it seems not working. Could you help me with that perhaps sending me the right CSS code to add?

If you click here http://www.hardwareacademy.io/all-events the red pop up form will appear after 15 seconds from the bottom of the page.

Thanks a lot!


#2

Paste this code in the Head Code and change the placeholder #333 to your preferred color code.

<style>
.w-input::-webkit-input-placeholder { /* WebKit browsers */
    color:    #333;
}
.w-input:-moz-placeholder { /* Mozilla Firefox 4 to 18 */
    color:    #333;
    opacity: 1;
}
.w-input::-moz-placeholder { /* Mozilla Firefox 19+ */
    color:    #333;
    opacity: 1;
}
.w-input:-ms-input-placeholder { /* Internet Explorer 10+ */
    color:    #333;
}
</style>

Hope this helps.


#3

Vladimir you are a king! Thank you very much for your help :grinning:

P.S: Webflow is mindblowing I don't know how much time (and money) we saved building our two websites. Congratulations to all the team!! :heart:


#4

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.