Skip to main content
Participant
Nov 22, 2019 3:27 AM UTC
Answered

phone display from website different to preview in dreamweaver

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 is closed to new replies. Start a new post to keep the conversation going.
BenPleysier
BenPleysierCorrect answer
Community Expert
Nov 22, 2019 3:59 AM UTC

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!

4 replies

BenPleysier
Community Expert
Community Expert
Nov 22, 2019 3:29 AM UTC

Please give us a link to the site

Translate
Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!
Participant
Nov 22, 2019 3:31 AM UTC

Thanks for replying Ben. 

Translate
BenPleysier
Community Expert
BenPleysierCommunity ExpertCorrect answer
Community Expert
Nov 22, 2019 3:59 AM UTC

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">
Translate
Wappler is the DMXzone-made Dreamweaver replacement and includes the best of their powerful extensions, as well as much more!