cancel
Showing results for 
Search instead for 
Did you mean: 

Viewport Meta Data

Viewport Meta Data

Is there any way to make my magento 1.9.4 viewable on a mobile phone without having to purchase a mobile addon?   

Viewport Configuration

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

 

Is there any way to add this html  to any file that would make my site visible on mobile ?

 

Thank you, 

Steven

2 REPLIES 2

Re: Viewport Meta Data

Hi @sssteven4 

 

You can directly add this viewport configuration inside the head.phtml file in your theme.

File path:

app\design\frontend\themeName\packageName\template\page\html\head.phtml

I hope it will work for you.

 

Thanks

--

Problem solved?Please give 'Kudos' and accept 'Answer as Solution'.

Re: Viewport Meta Data

Thank you for your help, I have tried what you said, however it didn't work. I am using the "modern" template for my site and the folder is "header.phtml". 
Is there any way to make my website mobile friendly without having to purchase a program to do this?
Also you seem to be very smart about magento, as I said I am using the "modern" theme, I noticed that if someone went to purchase an item, the shopping cart page is still showing the "default" theme on the page, also it is on all the pages that are part of the "basic"  website, all of the pages that are created in the CMS section.

Is there a way to make these pages show the correct theme?

 

Thank you,

Steven                                                          show the