Tagged: x
-
AuthorPosts
-
April 21, 2016 at 6:15 am #893443
Hi Guys
I’ve tried searching through the forum but couldn’t quite find the answer. Sorry if this has already been asked a thousand times.
I want to change the font colour in the Mailchimp email form X addon to #333333 (RGB 51,51,51) – it’s currently white and can’t be seen on my background.
I’ve tried a few CSS codes but to no avail. Any advice?
Thank you for supplying such a helpful forum it’s been invaluable to working my way through X Theme!
Will send url and login details in another private message.
April 21, 2016 at 6:16 am #893444This reply has been marked as private.April 21, 2016 at 12:59 pm #894089Hi there,
Thanks for the kind words.
You can add this under Custom > CSS in the Customizer.
.x-subscribe-form input[type="email"] { color: #333333; }
Hope this helps.
April 22, 2016 at 5:47 am #895143Hi Jade
Thank you for your quick reply!
That worked great for when the user inputs the email data…but ‘the call to action’ text within the form is still white (the bit that says subscribe to newsletter here)
Any ideas how to fix this?
I’ve attached some images to show you what I mean.
Again thank you for being so brilliant at your support. You guys know your coding!
April 22, 2016 at 9:31 pm #896161Hello There,
Please update the given code and use this instead:
.x-subscribe-form input[type="email"], .x-subscribe-form input::-webkit-input-placeholder { color: #333333; }
Please let us know how it goes.
April 23, 2016 at 5:36 pm #896986This reply has been marked as private.April 24, 2016 at 4:03 am #897261You are a genius.
That has worked excellently! WEEHOO! Thank you!
April 24, 2016 at 8:14 pm #897934Hi @hello,
Glad that works for you!
Please use the following CSS:
input#x_subscribe_form_first_name::-webkit-input-placeholder, input#x_subscribe_form_email::-webkit-input-placeholder { color: #222222; } input#x_subscribe_form_first_name:-moz-placeholder, input#x_subscribe_form_email:-moz-placeholder { /* Firefox 18- */ color: #222222; } input#x_subscribe_form_first_name::-moz-placeholder, input#x_subscribe_form_email::-moz-placeholder{ /* Firefox 19+ */ color: #222222; } input#x_subscribe_form_first_name:-ms-input-placeholder, input#x_subscribe_form_email:-ms-input-placeholder{ color: #222222; }
Hope this helps.
April 30, 2016 at 5:45 pm #907291@lely it didn’t seem to change the placeholders in either Firefox or Chrome, the only 2 browsers I tested it on. The Name and Email Address placeholders are very light grey still, almost unreadable. When I start typing, they become much darker. Any other ideas?
May 1, 2016 at 6:38 am #907748Hi again,
Please replace the previous code with this one:
::-webkit-input-placeholder { color: #222 !important; } :-moz-placeholder { color: #222 !important; } ::-moz-placeholder { color: #222 !important;; } :-ms-input-placeholder { color: #222 !important; }
Let us know how this goes!
May 1, 2016 at 11:02 am #907976Hi,
I did replace it. It didn’t change anything still.
Matt
May 1, 2016 at 2:01 pm #908148Hi Matt,
Thanks for updating. I can see this is working fine on my end (screenshot on Firefox) – http://prntscr.com/az4tbr
Which browser you are using to check? It should work fine on Firefox, Chrome and IE.
You can also try this for other browsers.
input::-webkit-input-placeholder, textarea::-webkit-input-placeholder { color: #222; } input::-moz-placeholder, textarea::-moz-placeholder { color: #222; } input:-ms-input-placeholder, textarea:-ms-input-placeholder { color: #222; }
Hope this helps.
Cheers!
May 1, 2016 at 2:26 pm #908174Ahhhh… Actually there’s an opacity set on those fields. I couldn’t figure out why I couldn’t get it to a certain darkness. If I edit with opacity: 1 !important then it works.
May 1, 2016 at 6:57 pm #908328Glad you got it to work!
-
AuthorPosts