PDA

View Full Version : Adding a META Tag


Hostboard
04-08-2020, 12:46 PM
I am looking to add a ViewPort Meta tag and just wanted to verify that it should be added to the headinclude template? Or is there a better place for it?


<meta name=viewport content="width=device-width, initial-scale=1">

alfuzzy
04-10-2020, 08:02 PM
Hey there Hostboard. headinclude template is where I've added my viewport meta tag...and all seems to be good.:)

final kaoss
04-11-2020, 12:50 PM
Yep that's where I put mine. My viewport is a bit different than yours, here's what else I have in mine, all is working fine.

<meta http-equiv="cleartype" content="on" />
<meta name="viewport"content="width=device-width, minimum-scale=0.5, maximum-scale=1.0, user-scalable=yes initial-scale=0.5"/>
<meta http-equiv="Content-Security-Policy"content="upgrade-insecure-requests" />