• Resolved Segia

    (@segia)


    Hi,

    I’m trying to use the custom CSS function to change the placeholder font on an embedded form, but none of the suggested selectors seem to apply. I can change it for the actual input and for the submit button, but not for the placeholder text or the GDPR button. What selectors should I use instead?

    Thanks for the great plugin!

    Julian

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hello @segia

    Hope you’re doing well!

    The GPDR text can be edited in a Text editor and a font color can be added with HTML tags. Please see this screenshot:
    https://take.ms/4hjxx

    Please try wrapping the text with <span> tags like this:
    <span style="color: green;">Yes, I agree with the <a href="#" target="_blank" rel="noopener">privacy policy</a>.</span>

    Otherwise, please try this CSS code to change the text color:

    .hustle-gdpr-content {
        color: green;
    }

    Hope this helps!

    Cheers,
    Nastia

    Thread Starter Segia

    (@segia)

    Hi @wpmudev-support9 ,

    thanks for the quick response! That worked for the GDPR text; do you have any way to style the font of the placeholder text in the other input forms?

    All the best,

    Julian

    Plugin Support Amin – WPMU DEV Support

    (@wpmudev-support2)

    Hello @segia ,

    If you need CSS for styling the placeholder text there is a tutorial on how to do that: https://css-tricks.com/almanac/selectors/p/placeholder/

    You can use code inspector in your browser to get needed classes for the inputs:

    kind regards,
    Kasia

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Change font colour on form text placeholder’ is closed to new replies.