Hi, I would like the following meta tag added to my HTML ticket template without losing the change when a plugin update is made: <meta name="viewport" content="width=device-width, initial-scale=1">
Up until a few days ago I had this added to the body of the “HTML Ticket Template” and it worked perfectly, but now it’s being stripped out and as a result the tickets are displayed too small when viewed on a smartphone.
Is that being added within the Text view (https://cl.ly/1e0l2h1Q2o0t) of the messages editor? If so, then it should hold without being removed.
If you are actively switching between Text and HTML for editing, then that could remove it. In that case, I would add it after your other customizations have been made.
Yes, I am switching back and forth between html and text view and in doing so, you are correct, this line gets removed.
Is there a way to add this line of code to the template using a new function in my child theme’s function.php file? If yes, can you please supply that code? Or must I add it to the template itself? If yes, can you please tell me the path/name of the file?
The support post ‘Best way to add meta name="viewport" to HTML ticket template?’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.
Support forum for Event Espresso 3 and Event Espresso 4.