Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1359811

    Hi Enfold team our client TWU577.org is hoping to change the placeholder text on the “Lost Password” form field – it appears when you click “Lost Your Password?”. Do I need to modify an Enfold Child Theme file? It should say: “Enter employee number or email” instead of enter username or email.
    Please let me know how I can change this.
    Thanks
    Tina

    #1359829

    Hey Tina,

    That is default WordPress functionality, it’s not controlled by the theme. Maybe this will help you out? https://stackoverflow.com/questions/41022243/wordpress-how-do-i-customize-lost-your-password-text-on-login-page

    Best regards,
    Rikard

    #1360120

    Hi Rikard,
    thanks for the link. However I don’t think it’s exactly what I am looking for.

    This is the html I am trying to change:
    <td class=”lwa-remember-email”><input type=”text” name=”user_login” class=”lwa-user-remember” value=”Enter username or email” onfocus=”if(this.value == ‘Enter username or email’){this.value = ”;}” onblur=”if(this.value == ”){this.value = ‘Enter username or email’}”/>

    to:
    <td class=”lwa-remember-email”><input type=”text” name=”user_login” class=”lwa-user-remember” value=”Enter employee number or email” onfocus=”if(this.value == ‘Enter employee number or email’){this.value = ”;}” onblur=”if(this.value == ”){this.value = ‘Enter employee number or email’}”/>

    do you know how to add that in the functions php file?
    Thanks
    Tina

    • This reply was modified 2 years, 4 months ago by webdesignphx.
    #1360143

    Hi,

    Thanks for the update. I’m not sure how to do that, but this is default WordPress functionality, and thus not theme specific. It might be better if you post this question on a general WordPress help forum.

    Best regards,
    Rikard

    #1360171

    Thank you Rikard, will do.

    #1360183

    Hi,

    Thanks for the update. Please let us know if you should need any further help on the topic, or if we can close it.

    Best regards,
    Rikard

    #1360414

    Hi Rikard thanks you can close it.
    Tina

    #1360419

    Hi webdesignphx,

    Thanks for using Enfold and have a great day :)

    Best regards,
    Nikko

Viewing 8 posts - 1 through 8 (of 8 total)
  • The topic ‘Change lost username field text to something else’ is closed to new replies.