• 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

Fix Site – Mobile Responsive

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 › Fix Site – Mobile Responsive

This topic is: not resolved

Tagged: custom, genesis, mobile, responsive, sample

  • This topic has 2 replies, 2 voices, and was last updated 8 years, 8 months ago by Porter.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • July 13, 2014 at 6:49 am #114133
    Porter
    Participant

    I've recently created a child theme based off of the Genesis Sample, which was responsive, but it no longer works properly on mobile devices. I really need to get this site working on mobile devices, but more importantly I need to understand what it takes to make a Genesis site function properly on mobile. I'm pretty decent with programming / logic, so I just need a bit of hand holding until I wrap my head around it. I know all of the information is in the "media queries" section", but that's about it - the dimensions / rules / all the rest elude me.

    So a two part question:

    1 - What specifically needs changing on this site to make it mobile responsive again? The navigation menu is messed up (not centered), the header widget is inside of the logo, and a few other minor things. Main specs:

    Site Width - 1024
    Body - Fixed height of 504
    Sidebar Widget - Fixed height of 504

    2 - What can you tell me about how to make a site responsive? Any useful reading material? (I've searched a lot, haven't found anything too useful). Any specific rules I need to know?

    I know a lot of these kinds of questions come through here, but I'm quite eager to learn. I'm more concerned with part 2, as if I can learn how this all works, fixing my site will be a breeze. In the mean time, I'll study the Genesis Sample theme and see what relationships I can form between the normal width, and the mobile widths. Thanks a lot for any feedback <3


    Buy me a beer? | Try DigitalOcean VPS Hosting

    http://foundingfathersbar.com
    July 13, 2014 at 5:29 pm #114178
    ᴅᴀᴠɪᴅ
    Member

    The media queries are pretty simple. You need:

    /* # Media Queries
    ---------------------------------------------------------------------------------------------------- */


    @media
    only screen and (max-width: 1200px) {

    //code in here

    }


    @media
    only screen and (max-width: 1024px) {

    //code in here

    }


    @media
    only screen and (max-width: 960px) {

    //code in here

    }


    @media
    only screen and (max-width: 800px) {

    //code in here

    }

    The best way is to start reducing the width of your browser until something looks wrong. Then make that a break point and write the new css to fix the problem. On your website i can see things go wrong as you get smaller than 1024px. So to start you off.. to fix your menu and widget area problem...


    @media
    only screen and (max-width: 1024px) {

    .nav-primary {
    width: auto;
    }

    .site-header .widget-area {
    text-align: center;
    }

    }


    I love helping creative entrepreneurs build epic things with WP & Genesis.

    Follow on Twitter

    July 14, 2014 at 10:00 am #114235
    Porter
    Participant

    Many thanks for clearing things up I'll give it a go today and post my results later on.


    Buy me a beer? | Try DigitalOcean VPS Hosting

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 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

© 2023 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