No results found. Try again with different words?

Search must be at least 3 characters.

Show Password Eye Icon Not Visible

Sidebar Image

Did not find a solution? We are here to help you succeed.

If you have a WooCommerce website built using the Astra theme, and whenever you are logging into the WooCommerce – My Account, you need to provide the Username/ email address and Password. A password field provides a way for users to securely input a password by showing the * character instead of the actual characters.

However, it is likely that some users will type the wrong password. To help them see the password that they’re currently entering, the eye icon beside the password field will toggle the password visibility. This is a very useful feature you should have on your login form.

Previously the eye icon for show password was not visible.

Show Password eye icon not visible

So, to make the show password eye icon visible, you need to place the following code in the functions.php file.

add_filter( 'astra_get_option_woo-show-password-icon', '__return_true' );

After adding the above filter, the Show Password eye icon will be visible.

Show Password eye icon not visible

Note:

For additional details on how to add a custom code to the functions.php file please see this article: How to Add Custom PHP Code?

We hope this guide has been helpful! If you have any questions or feedback, please leave a comment. Your input is valuable to us.

Was this article helpful?
Sidebar Image

Did not find a solution? We are here to help you succeed.

Related Docs

Join 1,653,898+ Happy Site Owners Using Astra

Whether you are a beginner, small business owner, or professional web developer, Astra provides all the tools you need to easily build your beautiful WordPress website.

Download is Just A Click Away!

Membership Retention Checklist Download

REWIND

YEAR IN REVIEW

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form
Scroll to Top
Now choose your preferred
page builder addon
Choose your preferred page builder addon

Download is Just A Click Away!

Enter your email address and be the first to learn about updates and new features.

Download Free Astra Theme - Modal Popup Form