vBulletin Mods

The Official vBulletin Modifications Site

Viewport Meta Tag Location
by alfuzzy
15 Apr 2020 18:40

I'm using a Google "Is you web page mobile-friendly" test...to test my website running vBulletin 4.2.5.

One of the errors this test is indicating is "Viewport not set". I have the following viewport meta tag at the top of both of my header & headinclude vBulletin templates:

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

What can possibly be wrong? Are neither of these templates the proper place for this viewport meta tag? If this is the correct place...why is the Google Mobile-Friendly test giving me this error?


--------------- Added 15 Apr 2020 at 20:35 ---------------

Nevermind...I figured it out. Some of the quotes in my Viewport meta tag on post #1 were wrong.

Incorrect: <meta name=”viewport” content=”width=device-width, initial-scale=1″>
Correct: <meta name="viewport" content="width=device-width, initial-scale=1">

If they are looked at closely...you can see the difference. Lol

All times are GMT. The time now is 14:37.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.