Wrapping input text inside a div
-
Hello,
I’d like to add a before and after elements to input of type text. As you know, inputs do not exposes these pseudo-elements.
A solution would be to wrap all input of type text into a div with a specified class name. Is it possible to achieve this from my theme’s function.php? If yes, how?
Thank you in advance.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
- The topic ‘Wrapping input text inside a div’ is closed to new replies.