Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #295872

    Font in the text field on the contact page does appear grey while typing the text but switches to white #fff when the text field is left.
    How can I set the typing font colour to white to provide a better visibility for the writer while typing in the email the topic etc.

    #295944

    Hi mhauslaib!

    Please add following code to Quick CSS in Enfold theme options under General Styling tab

    #top input[type="text"]:focus, #top input[type="password"]:focus, #top input[type="email"]:focus, #top input[type="number"]:focus, #top input[type="url"]:focus, #top input[type="tel"]:focus, #top input[type="search"]:focus, #top textarea:focus { color: white; }

    Regards,
    Yigit

    #296033

    Dear Yigit,

    it didn’t do the trick, sorry.
    The thing is that colour of the font changes to dark grey when the input field is activated for editing.
    So anything which is written within this field is shown in font colour dark grey…once you deactivate the field and change to another on the written text appears in white…

    I did clear browser cache after saving but still no change.

    Any other ideas which may help.

    thx
    Martin

    #296039

    Hey!

    Please disable CSS minifying feature on the plugin you have activated, then flush browser cache and check the input once again. It should work, then you can re-enable minifying feature.

    Cheers!
    Yigit

    #296047

    He there,

    deactivated minifying f. but no change…funny thing tried the page on my smart phone and it worked but not on my laptop.
    Weird!

    rgds
    Martin

    #296139

    Hi!

    Please try adding !important rule as following

    #top input[type="text"]:focus, #top input[type="password"]:focus, #top input[type="email"]:focus, #top input[type="number"]:focus, #top input[type="url"]:focus, #top input[type="tel"]:focus, #top input[type="search"]:focus, #top textarea:focus { color: white !important; }

    and flush browser cache after applying the code and refresh your page a few times

    Regards,
    Yigit

    #296210

    He,

    unfortunately it didn’t do it.
    I have another one…how can I set the pages so it fits to android smart phone and tablets as well as ipads?

    Thx
    rgds
    Martin

    #296243

    Hi!

    Try this code please:

    
    #top #wrap_all input[type="text"]:focus, #top  #wrap_all input[type="password"]:focus, #top  #wrap_all input[type="email"]:focus, #top #wrap_all input[type="number"]:focus, #top  #wrap_all input[type="url"]:focus, #top  #wrap_all input[type="tel"]:focus, #top  #wrap_all input[type="search"]:focus, #top  #wrap_all textarea:focus {
    color: #ffffff !important;
    }
    

    Regards,
    Peter

    #298260

    Dear Peter,

    sorry for replying to your feedback so late.
    It worked. The text shows up in white while the respective text field is activated. Once you deactivate the text field the colour changes to grey again but is still visible so actually a nice thing.

    Many thx
    best regards
    Martin

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘ENFOLD theme: Font in the text fields on the contact page (name, topic, text,..’ is closed to new replies.