Way for user to switch between responsive and normal layout

Support Forums for LiveMesh Themes & Plugins Forums Enigmatic Theme Support Way for user to switch between responsive and normal layout

Tagged: 

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #1254
    filabrazilia
    Member

    I’m currently using the responsive function of Enigmatic and it works well but I also need a way for users to choose if they want the responsive (mobile) layout or the normal (Desktop) layout. Ideally, their choice would be remembered as well. I’ve seen this on many sites such as Google or Wikipedia, they usually have it as link at the bottom of the page. Any way to do this? Thanks!

    #1261
    livemesh
    Keymaster

    Most, if not all, of the responsive function is housed in the file css/responsive.css. The stylesheet style.css in the theme directory has very few other styles only related to theme supplied sample home page.

    You can try getting the css deleted when the user clicks on a link using JS/JQuery. Or better change the CSS url from responsive.css to some other css file which has some other styles relevant to “non-responsive” site.

    I must say that the theme is not built for this and hence you will face a few centring issues. You will need to remove all media queries(lines that start with @media screen and (min-width:... in responsive.css and in the style.css file and then will have to set the following value –

    #container { min-width: 1180px; }
    
Viewing 2 posts - 1 through 2 (of 2 total)
  • The forum ‘Enigmatic Theme Support’ is closed to new topics and replies.