• Resolved Scott Foshee

    (@scott-foshee)


    My boss wants the mobile site to look exactly like the desktop site with no optimization. How to disable mobile optimization in Decode theme? It’s actually very easy. All you have to do is comment out a single line of code in the Header.php file. Look for the line containing the word Viewport. You will find this line:

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

    Change that one line to this:

    <!-- <meta name="viewport" content="width=device-width, initial-scale=1, user-scalable=no"> -->

    That’s it.

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘How to disable mobile optimization in Decode theme’ is closed to new replies.