Jump to content
  • 0

Placeholder color


imJihyo

Question

Hi. I'm trying to change the color of the Text field's placeholder. I tried looking for a placeholder class inside Styles and change it there, however, it doesn't seem to change the color. I tried putting the code in the header but it still doesn't work. Any advice? Thanks!

 

Here's the code I'm using

<style>
.cbFormTextField_placeholder
{
 color: #a97bc7 !important;
}

</style>

image.png.6572f5ae702119c6a13bcb44e952d29d.png

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

  • 0

Hello @imJihyo,

I tried to recreate this on my end and for some reason, changing in the Styles or using a CSS code on the Header, but I tried to use this code. I tried to apply it both on the User-Defined Style section inside Styles and also on the Header section of the DataPage.

(If you will be using this on the Styles)

::placeholder {
    color: #a97bc7 !important;

}

 

(If you will be using this on the DataPage Header)

<style>

::placeholder {
    color: #a97bc7;

}

</style>

image.png.170f4208b45e287f534eeb0f79d1b894.png

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...