• Skip to main content
  • Skip to forum navigation

StudioPress

  • Shop for Themes
  • My StudioPress

Forum navigation

  • Home
  • General Genesis Discussions
  • StudioPress Themes
  • Genesis Blocks
    • Genesis Blocks
    • Genesis Custom Blocks
  • Retired Themes
  • FAQs
  • Forum Rules
  • Internationalization and Translations
  • Forum Bugs and Suggestions
  • Forum Log In

Are You Using The WordPress Block Editor?

Genesis now offers plugins that help you build better sites faster with the WordPress block editor (Gutenberg). Try the feature-rich free versions of each plugin for yourself!

Genesis Blocks Genesis Custom Blocks

How to Disable all Responsive Aspects of the Agency Child Theme

Welcome!

These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.

Log In
Register Lost Password

Community Forums › Forums › Archived Forums › Design Tips and Tricks › How to Disable all Responsive Aspects of the Agency Child Theme

This topic is: not resolved

Tagged: Agency, cell, css, iPad, iPhone, max-width, media queries, mobile, phone, remove responsiveness, responsive design, stylesheet

  • This topic has 6 replies, 2 voices, and was last updated 12 years, 3 months ago by ablewebs.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • September 13, 2013 at 5:42 pm #62408
    ablewebs
    Member

    My client doesn't like the way the site looks in responsive mode. So, I actually want to disable the responsiveness of the Agency child theme, so that the site simply gets shrunken down on mobile devices and looks like a regular site on the iPad.

    I have tried removing all the media queries (under Responsive Design in the CSS) from the Agency style sheet. I also removed all this CSS from the Genesis parent style sheet, even though I realize that you're not supposed to mess with that. Even with all media queries removed from BOTH style sheets, the site remains responsive.

    I understand that the child theme is probably inheriting the media queries from the parent style sheet, but why didn't removing the media queries from the parent's CSS resolve that issue?

    What am I missing, Ladies and Gentlemen?

    Note: Outside of the Responsive Design section (which I removed), I can only find one place in the Agency CSS that max-width is invoked:

    img {
    	height: auto;
    	max-width: 100%;
    }

    Thank you very much for any help you can give me... and my client!

    http://wp.akaconsulting.com
    September 13, 2013 at 5:43 pm #62410
    AnitaC
    Keymaster

    You need to open up the functions.php file also and remove the code pertaining to the Viewport.


    Need help with customization or troubleshooting? Reach out to me.

    September 13, 2013 at 5:45 pm #62411
    AnitaC
    Keymaster

    By the way, you should remove the code from the Genesis Framework because when a new version comes out, it will be overwritten and will just be added back.


    Need help with customization or troubleshooting? Reach out to me.

    September 13, 2013 at 6:12 pm #62420
    ablewebs
    Member

    Yes, I realize that I shouldn't mess with the parent theme and I have put back the CSS I removed from there.

    I followed your suggestion (thank you, by the way!) to remove the responsive code from the functions.php file (Agency child theme only!). This is what I removed:

    $content_width = apply_filters( 'content_width', 590, 410, 910 );
    
    /** Add Viewport meta tag for mobile browsers */
    add_action( 'genesis_meta', 'agency_viewport_meta_tag' );
    function agency_viewport_meta_tag() {
    	echo '<meta name="viewport" content="width=device-width, initial-scale=1.0"/>';
    }

    Unfortunately, there's no change. The site remains semi-responsive (as it has from the beginning). Sigh.

    My client says that his main site (http://www.akaconsulting.com) is shrunk down on his iPhone, but the iPhone simulator I am using shows it as full size. So now I'm even more confused.

    September 13, 2013 at 8:08 pm #62438
    ablewebs
    Member

    My client says it's now working on the iPhone, even though the simulator isn't working! Yay! Thank you for your help. It is very much appreciated!

    September 13, 2013 at 8:20 pm #62444
    AnitaC
    Keymaster

    You know, if you use Firefox - it has a built in mobile tester. You just hit Ctrl+Shift+M and you can test out mobile response on a lot of different sizes. I love it. Someone on here showed me how to use it. It comes in handy.


    Need help with customization or troubleshooting? Reach out to me.

    September 13, 2013 at 8:30 pm #62446
    ablewebs
    Member

    Yeah, it's not working for me there, either. The menu becomes responsive when you choose a small size and the site isn't shrunk; you just see a portion of it at small sizes. I'll find out more from my client tomorrow and I'll post the final results here.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The forum ‘Design Tips and Tricks’ is closed to new topics and replies.

CTA

Ready to get started? Create a site or shop for themes.

Create a site with WP EngineShop for Themes

Footer

StudioPress

© 2025 WPEngine, Inc.

Products
  • Create a Site with WP Engine
  • Shop for Themes
  • Theme Features
  • Get Started
  • Showcase
Company
  • Brand Assets
  • Terms of Service
  • Accptable Usse Policy
  • Privacy Policy
  • Refund Policy
  • Contact Us
Community
  • Find Developers
  • Forums
  • Facebook Group
  • #GenesisWP
  • Showcase
Resources
  • StudioPress Blog
  • Help & Documentation
  • FAQs
  • Code Snippets
  • Affiliates
Connect
  • StudioPress Live
  • StudioPress FM
  • Facebook
  • Twitter
  • Dribbble