How to Disable Mobile Responsive on Prose Child Theme

Community Forums Forums General Discussion How to Disable Mobile Responsive on Prose Child Theme

This topic is: not resolved

This topic contains 5 replies, has 4 voices, and was last updated by  wendycholbi 1 year, 8 months ago.

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #11334

    randyjabo
    Participant
    Post count: 1

    Can someone tell me how to disable the mobile responsive mode and force the website to use the same view as a browser?

    I have adsense and sidebar advertisements that will not be displayed correctly or at all in mobile view.

    #11375

    Bill Murray
    Participant
    Post count: 575

    Just remove the media queries at the bottom of your child theme stylesheet.


    Web: https://wpperform.com or Twitter: @wpperform

    We do managed WordPress hosting.

    #11404

    randyjabo
    Participant
    Post count: 1

    I tried that but it made no difference.  It seems I can only modify the CSS through a custom.css file with the Prose child theme.

     

    Still have not been able to make it work.

    #11676

    wendycholbi
    Participant
    Post count: 120

    You could try adding this code snippet to Genesis –> Custom Code –> Custom Functions:
    /*Remove mobile-responsive code*/
    remove_action( ‘genesis_meta’, ‘prose_add_viewport_meta_tag’ );
    This code predates the Genesis 1.9.1 and Prose 1.5.2 updates, so it’s possible it no longer works. Worth a try (and very easy to undo), though.


    I love WordPress, Genesis, and the Prose child theme (my complete guide to using Prose is here: SiteSetupKit.com). Say hi on Twitter: @wendycholbi

    #19776

    panoptic
    Participant
    Post count: 3

    I have upgraded several sites to Genesis 1.9.1 and to Prose 1.5.2. Every one of the updates has broken the original design and the only way to fix the problems is to either revert to my backup and stay with the earlier versions, or to start the site design from scratch.

    Seems I, and others, are at a dead end. We can not upgrade to the current framework/child theme without breaking the original design. Having to redo a site from scratch, just to keep it current, is NOT a viable solution.

    #20703

    wendycholbi
    Participant
    Post count: 120

    I agree that having to re-do a site design from scratch is not an acceptable consequence of a theme update.

    I’m not sure why your sites are breaking, though. I haven’t had any problems updating to Genesis 1.9.1 and Prose 1.5.2, and I’ve updated at least 25 sites.

    It’s true that Prose sites will look broken between updating to Genesis 1.9.1 and updating to Prose 1.5.2 (since you can’t do the updates simultaneously, because the Prose update will not appear as available until Genesis is updated). Updating to Prose 1.5.2 (from Prose 1.5.0 or Prose 1.5.1) immediately after updating to Genesis 1.9.1 has always fixed the problem for me.

    Have you tried the following?

    Checking/unchecking the Minify CSS checkbox on the Design Settings page
    Forcing a re-save of the Design Settings (e.g. by changing a setting, changing it back, and saving changes)
    Double-checking the contents of your Custom Code fields
    Deactivating all plugins to test for plugin conflicts

    If you’re updating from Prose 1.0, that comes with its own unique set of challenges — if you update without manually copying and saving any customizations you previously made to custom.css and/or functions.php, that will indeed break your design.


    I love WordPress, Genesis, and the Prose child theme (my complete guide to using Prose is here: SiteSetupKit.com). Say hi on Twitter: @wendycholbi

Viewing 6 posts - 1 through 6 (of 6 total)

You must be logged in to reply to this topic.