Jump to content
Sign in to follow this  
1pdeals.co.uk

Mobile Viewport

Recommended Posts

Hi,

I wonder of you guys can help please?

My Google stats thing has flagged up a problem with the way my site is displayed on mobile devices. http://www.1pdeals.co.uk

I have learned that I need to add this line of code to the code, I assume this is on the main index page. I am not that experienced with PHP.

I can probably figure it out if someone can pint me in the right direction as to how to find the file I need to add this code to.

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

Thanks in advance. Bill

Share this post


Link to post
Share on other sites

In the file /skins/e-tone/templates/main.php, find near the top:

<meta name="viewport" content="width=device-width" />

Change to:

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

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

×
×
  • Create New...