D
D
Dmitry Yakovlev2015-09-17 12:30:58
Bootstrap
Dmitry Yakovlev, 2015-09-17 12:30:58

How to make a desktop version for an adapted site?

I have a site mysite.ru which is adapted for mobile devices using bootstrap.
The customer wants there to be a button "go to the "desktop version" or "full version"
Tell me how to do this?
There is an idea using the $_GET parameter, depending on its value, insert

<meta name="viewport" content="width=device-width, initial-scale=1">
and also remove media.css.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
D
Denis Ineshin, 2015-09-17
@IonDen

To do this, you will need to make two versions of the site:
site.ru - desktop version (does not contain media queries for mobiles)
m.site.ru - mobile version (configured for mobiles)
You can't just turn off adaptability.

V
Vladislav Kanev, 2015-09-17
@Vlady_Tipler

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

It's not gonna go?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question