• Resolved Davide_sd

    (@davide_sd)


    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)
  • Hi @davide_sd,

    Thanks for writing in!

    We currently do not have a filter that will allow you to add extra divs to wrap the fields.

    However, would you mind mentioning what exactly you are trying to do? Perhaps we can provide a workaround through CSS.

    Thank you.

    Hi @davide_sd,

    We haven’t heard back from you in about a week, so I’m going to go ahead and close this thread for now. But if you’d like us to assist further, please feel welcome to continue the conversation.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Wrapping input text inside a div’ is closed to new replies.