Disableing mobile version

3 posts / 0 new
Last post
harial's picture
Disableing mobile version

I've significantly changed the look of my sencillo based site from the original and in doing so the mobile version is almost unusable. Is there any way to completely disable the mobile version of the site so that only the full version ever shows up no matter which device is users?


support's picture
Hi Harial:

Hi Harial:

what you need to do can be done just on the .info file of the theme located under sites/all/themes/SENCILLO_VARIANT/sencillo.info

on line 25:

stylesheets[(min-width: 479px)][] = css/responsive-mobile-landscape-layout.css
stylesheets[(min-width: 767px)][] = css/responsive-tablet-layout.css
stylesheets[all and (min-width: 980px) and (min-device-width: 980px), all and (max-device-width: 1024px) and (min-width: 1024px) and (orientation:landscape)][] = css/responsive-screen-layout.css
stylesheets[(min-width: 1120px)][] = css/responsive-wide-layout.css

replace all the Media queries "(min-width......)" by "all" so it stays like this.

stylesheets[all][] = css/responsive-mobile-landscape-layout.css
stylesheets[all][] = css/responsive-tablet-layout.css
stylesheets[all][] = css/responsive-screen-layout.css
stylesheets[all][] = css/responsive-wide-layout.css

Then just Clear Cache under Admin -> Config -> Performance and it will be done.


harial's picture
Thank you! I ended up using

Thank you! I ended up using this in conjunction with a module that let me switch to another of the themes when viewed on a mobile device. I then modified that theme to look the way I wanted it to while not effecting the over all desktop theme.

Log in to post comments