Jump to content

disable mobile site on prestashop 1.6


rossw14

Recommended Posts

Hi,

is it possible to turn of the page scaling on prestashop so people who visit on a mobile site can just see the actual page as it apears on a computer? instead at the moment they just see a small squashed page.

if anybody has any advice, that would be great.

Regards

Ross Wilkes

Link to comment
Share on other sites

hi,

yes I have done that and it has disabled the mobile site, but the whole page still shrinks to fit my screen, down to 1 collum so it is all out of proportion and size.  is it possible to keep it the same size as the online shop but so people can scroll in to it?

Link to comment
Share on other sites

You have to recode your theme. Default bootstrap theme uses responsivness by default, and there's no very easy way to disable it. Here's a quick tutorial from official bootstrap website, how to disable responsivness in bootstrap:

 

 

Steps to disable page responsiveness:

  1. Omit the viewport <meta> mentioned in the CSS docs
  2. Override the width on the .container for each grid tier with a single width, for example width: 970px !important; Be sure that this comes after the default Bootstrap CSS. You can optionally avoid the !important with media queries or some selector-fu.
  3. If using navbars, remove all navbar collapsing and expanding behavior.
  4. For grid layouts, use .col-xs-* classes in addition to, or in place of, the medium/large ones. Don't worry, the extra-small device grid scales to all resolutions.
Link to comment
Share on other sites

  • 3 months later...
×
×
  • Create New...