• 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

Mobile Layout — or lack of completely!!

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 › Mobile Layout — or lack of completely!!

This topic is: not resolved
  • This topic has 3 replies, 2 voices, and was last updated 8 years, 1 month ago by tarmadillo.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • October 8, 2017 at 10:35 am #212287
    Avishekks
    Member

    Hi all, I have two questions this morning.

    1. After learning CSS for three days and making small changes here and there, I finally released my site out of maintenance mode. But then, on mobile, the results were horrendous. View my site on desktop vs mobile and you'll see.

    Here is an image of the mobile site right now.
    Mobile View

    Any idea what to do here?

    2. In addition, when I view the full site on my phone (iphone 6, shouldn't matter), it looks like this

    Full-site on mobile

    Why is there a bit of extra space above my header and the background? How do I fix that? And secondly, this point isn't super important once I get the mobile site to work, but I'd like to change the way the text looks on the Front Page 1 section (using Monochrome Pro). The first word is "follow" and as you can see it's not spaced out very well.

    October 8, 2017 at 12:57 pm #212291
    tarmadillo
    Participant

    To get rid of the space at the top change .site-header from top: 5; to top: 0;

    as for your mobile issues it looks like you enabled Jetpack's mobile site option.

    To access the Mobile theme options:

    Visit Jetpack -> Settings -> Writing tab and scroll down to the Theme Enhancements section in your Dashboard.
    Find the “Enable the Jetpack Mobile theme” option and click the dropdown arrow.
    Select your desired options, then click Save Settings.


    https://armadillowebdesign.com

    October 8, 2017 at 7:29 pm #212297
    Avishekks
    Member

    Wow...thank you. That solved the issue. How did you figure that out? Does it say somewhere on the site? Or were you able to tell by the way it said "mobile version" on the bottom?

    Ok well that brings me to part II. As you can see in the image above where the text says "Follow," it doesn't display too well. Which part of the @media queries does this correspond to?

    October 8, 2017 at 9:01 pm #212298
    tarmadillo
    Participant

    I checked the scripts you were running using the browser inspector to see if you had a plugin since I never see separate mobile sites with wordpress. You had something called device-px-jetpack.js which sounded about right so I looked it up.

    You are using span tags in your html so if you try to change it in the css it wont work since inline css takes priority.

    instead of doing this:

    <p style="text-align: center;"><span style="font-family: vidaloka; font-size: 120pt;"><span style="color: #9e6c00;"><span style="padding: 10px; background-color: #ffffff; line-height: 1;">Follow </span></span></span></p>

    try doing something like this:

    <h2>Follow</h2>
    <h2>Your</h2>
    <h2>Body</h2>

    and then target them together in your css:

    .front-page-1 h2 {
        text-align: center;
        font-family: 'vidaloka';
        font-size: 120pt;
        color: #9e6c00;
        padding: 10px;
        background-color: #fff;
        line-height: 1;
    }

    Then it looks like the font breaks around 550px wide so I would go to the section that says @media only screen and (max-width: 600px)

    and you can add:

    .front-page-1 h2 {
        font-size: 90pt;
    }

    or whatever font-size works.

    the benefit is that you can just change the style in one location and and it will affect all three of those h2 elements instead of having to change each span


    https://armadillowebdesign.com

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