Searched a lot but didn't found anything removing the
Lables like "First Name, Last Name, City, Address, Email, Phone etc"
Add Placeholders in all "shipping fields" and "sign In" places.
After Login Placeholders in "new add address popup"
Please help me struggling from so many days didn't found any exact thing.
Best Answer
I don't find any proper solution but give you quick and good solution.
Magento checkout's
input fields
are render byMagento_Ul
module component's fileOn this files, you need to changes
placeholder: placeholder
toplaceholder: label
So, first copy this html to your frontend theme folder
On this
input.html
add this code:Then, you need to add
_extend.less
at your theme folderadd this code for hidden the label css:
Then You must flush cache by run
php bin/magento cache:flush
Or delete all files from
view_procecced, cache,page_cache
.Then you should static content deploy