Register Members List Search Today's Posts Mark Forums Read

Thread Tools
Old 15 Apr 2020, 18:40
alfuzzy alfuzzy is offline
Join Date: Jul 2018
Viewport Meta Tag Location

I'm using a Google "Is you web page mobile-friendly" 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 can see the difference. Lol

Last edited by alfuzzy; 15 Apr 2020 at 20:36.
Reply With Quote

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

New To Site? Need Help?

All times are GMT. The time now is 06:15.

Layout Options | Width: Wide Color: