Deactivate the responsive on user-request

Posted in: Newsmag
Post count: 217

Hi,

is it possible to put a button or a link on the site to deactivate the responsive layout if the user wants to see the desktop version?

How can I achieve this?

Thank you!

Post count: 9544

You would likely need to setup a javascript button, to switch CSS, then create alternate copy of the style.css file …

we used to do this to allow people to load different size fonts for the old handicapped requirements …

use a simple javascript switcher to switch to style-desktop.css which removes the @media queries for viewport 🙂

jquery method (I’ve not used this)
http://www.cssnewbie.com/simple-jquery-stylesheet-switcher/#.VTvbsGeBFaQ

and here is code we used to used in the olden days (circa 2009?) ?
http://www.dynamicdrive.com/dynamicindex9/stylesheetswitcher.htm

Post count: 6600

Hi,


@Bichareh

Unfortunately we don’t plan to add an option like that. You can try an built it yourself based on Chis suggestions or search for a plugin that can help.

Thanks for the message!

Viewing 3 posts - 1 through 3 (of 3 total)
The forum ‘Newsmag’ is closed to new topics and replies.