Skip to main content
Participant
November 22, 2019
Answered

phone display from website different to preview in dreamweaver

  • November 22, 2019
  • 1 reply
  • 624 views

Hi, 

Sorry if this has been asked before but I've looked and can't find a similar problem. I have almost completed my website which has responsive changes for each screen size. It looks exactly how I want it to when I use the preview function in Dreamweaver on my phone but when I upload it to my host, it displays the media queries set up for my tablet screen layout (around 900px) and the header image doesn't fill its allocated box. I set the website up as phone view and used media queries to adjust for bigger screens. Any help would be greatly appreciated. 

This topic has been closed for replies.
Correct answer BenPleysier

Add the following line in the code, after the UTF tag on line 4

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">

1 reply

BenPleysier
Community Expert
Community Expert
November 22, 2019

Please give us a link to the site

Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Participant
November 22, 2019

Thanks for replying Ben. 

BenPleysier
Community Expert
BenPleysierCommunity ExpertCorrect answer
Community Expert
November 22, 2019

Add the following line in the code, after the UTF tag on line 4

<meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!