• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Media Query

Enthusiast ,
Apr 14, 2019 Apr 14, 2019

Copy link to clipboard

Copied

Hi,

In the image below, Mobile View is seen on "Chrome on Desktop".

But it's not seen on "Chrome on iPhone".

How to fix the problem?

(I want to make Mobile View seen on iPhone.)

Hosun Kang

Q_Dw_5_MQ.png

Views

629

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Community Expert , Apr 14, 2019 Apr 14, 2019

You're missing the viewport meta tag for mobile devices.

Change your code on lines 1 - 5 from this:

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>Roar Cycling</title>

to this:

<!doctype html>

<html lang="en">

<head>

<meta charset="utf-8">

<title>Roar Cycling</title>

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

<meta http-equiv="X-UA-Compatible" content="IE=edge">

Votes

Translate

Translate
Community Expert ,
Apr 14, 2019 Apr 14, 2019

Copy link to clipboard

Copied

Please post a link to the problem page online.  The answers are in your code, not screenshots.

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 14, 2019 Apr 14, 2019

Copy link to clipboard

Copied

Could you tell me what is "post a link to the problem page online"?

Is my question beyond the scope of the Adobe Community Forum?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 14, 2019 Apr 14, 2019

Copy link to clipboard

Copied

For quickest help in this web forum,  please upload the page to your sits's remote server  Then post the website address here so we can look at it with our browsers.  

A distant 2nd option is to copy and paste all your code into a web forum reply.   But we don't have access to your images and other assets so we can't see what you see.  A link to your site is better for us to help you.

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 14, 2019 Apr 14, 2019

Copy link to clipboard

Copied

Hi,

Thank you very much for your help.

Here is the link.

Roar Cycling

Hosun Kang

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 14, 2019 Apr 14, 2019

Copy link to clipboard

Copied

You're missing the viewport meta tag for mobile devices.

Change your code on lines 1 - 5 from this:

<!doctype html>

<html>

<head>

<meta charset="utf-8">

<title>Roar Cycling</title>

to this:

<!doctype html>

<html lang="en">

<head>

<meta charset="utf-8">

<title>Roar Cycling</title>

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

<meta http-equiv="X-UA-Compatible" content="IE=edge">

Nancy O'Shea— Product User, Community Expert & Moderator
Alt-Web Design & Publishing ~ Web : Print : Graphics : Media

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Enthusiast ,
Apr 14, 2019 Apr 14, 2019

Copy link to clipboard

Copied

LATEST

Thank you very much.

Now, everything is OK.

Hosun Kang

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines