Support » Plugin: Optin Forms » Change text color of label 'Enter your email here'

Viewing 15 replies - 1 through 15 (of 18 total)
  • Plugin Author Boris Beo

    (@brs)

    Hi myideasagain,

    you can do so by picking a color. Look for “Input fields color” under the “Style your form” section.

    Let me know if you’re able to get it working.

    myideasagain

    (@myideasagain)

    Thank you. I tried that, and it indeed effects the color of the text that appears once the user starts typing within the field.

    However, it does not seem to change the color of the label text itself, before the user starts typing.

    Plugin Author Boris Beo

    (@brs)

    What browser are you using, so I can check?

    myideasagain

    (@myideasagain)

    Google Chrome Version 35.0.1916.153 m

    Plugin Author Boris Beo

    (@brs)

    I see what you mean. The color is visible only once a visitor types something into the input field.

    Unfortunately, the JavaScript used for the labels is acting this way in Chrome (ignoring the CSS value).

    The only way to change that, is to edit the .js file itself.

    The file is /wp-content/plugins/optin-forms/includes/placeholder.js

    Find this line of code:
    placeholderColor: '#000',

    Change the HEX value to whatever you like.

    Save file and upload.

    The problem is that you will need to repeat this step each and every time you update the plugin.

    myideasagain

    (@myideasagain)

    Thank you, I do not see the file ‘placeholder.js’ listed there.

    Plugin Author Boris Beo

    (@brs)

    My bad, the correct directory is
    /wp-content/plugins/optin-forms/js/placeholder.js 😉

    myideasagain

    (@myideasagain)

    I made the change but see no effect on the issue.

    Plugin Author Boris Beo

    (@brs)

    Did you empty your browser cache?

    myideasagain

    (@myideasagain)

    Yes. The problem persists.

    myideasagain

    (@myideasagain)

    Please assist, Boris. The problem occurs on Firefox too.

    Plugin Author Boris Beo

    (@brs)

    Hi myideasagain,

    it sounds like your theme’s CSS is overriding the values set it in plugin’s CSS and JS file. Can you share the URL where your form is included so I can take a look?

    myideasagain

    (@myideasagain)

    It’s a PW-protected Dev site. How can I PM you access credentials?

    Plugin Author Boris Beo

    (@brs)

    Send me an email through this link: http://www.codeleon.com/contact/

    myideasagain

    (@myideasagain)

    Sent. Any assistance, Boris?

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Change text color of label 'Enter your email here'’ is closed to new replies.