• 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

Help with .content and mobile responsiveness

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 › General Discussion › Help with .content and mobile responsiveness

This topic is: not resolved

Tagged: beautiful pro, content, mobile responsive

  • This topic has 2 replies, 2 voices, and was last updated 11 years, 1 month ago by asdweb.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • June 18, 2014 at 7:12 pm #110457
    asdweb
    Member

    I've converted Beautiful Pro into a custom theme.

    There are two issues I'm trying to fix:
    1- The content and widget areas #fff was added to provide a paper background to overlay the parchment paper.
    I added margins and paddings to achieve this look.

    It works fine until the browser window is resized and the content area sticks out on the right side overlapping the teal background and the widgets are left justified.

    Then when the browser window gets smaller it looks fine again.

    See: http://ganeshdesignstudio.com/cc-draft/

    2- Because of the above, the full width content shows the background from edge to edge of the content area until it is resized way small and it looks as intended.

    http://ganeshdesignstudio.com/cc-draft/bio-credits/

    Any help is really, really appreciated!


    Amy Susan Design.com @AmySusanDesign

    June 18, 2014 at 10:39 pm #110494
    nciske
    Member

    1. Custom CSS should go before the media queries, unless you want it to override them (generally not a good idea)

    2. You need to adjust the media query in between full and mobile (i.e. (max-width: 1023px) to correctly size your content boxes.

    Try this:

    
    @media only screen and (max-width: 1023px) {
        .beautiful-landing .site-inner,
        .site-inner,
        .wrap {
            max-width: 768px;
        }
    
        .header-image .site-title a {
            background-position: center !important;
            background-size: contain !important;
            margin: 0;
        }
    
        .content,
        .footer-widgets-1,
        .footer-widgets-2,
        .footer-widgets-3,
        .sidebar-primary,
        .site-header .widget-area,
        .title-area {
            width: 100%;
    	margin-left: 0;  /* added */
        }
        
        .sidebar div.widget-wrap{
        	margin-right: 0;  /* added */
        }
    
        .genesis-nav-menu,
        .site-description,
        .site-header .title-area,
        .site-header .search-form,
        .site-header .widget-area,
        .site-title {
            text-align: center;
        }
    
        .footer-widgets-1 {
            margin-right: 0;
        }
    }
    

    Nick Ciske | https://luminfire.com/ | @nciske
    Did I help you? Say thanks: http://bit.ly/1lahwy0

    June 19, 2014 at 8:28 am #110564
    asdweb
    Member

    Awesome. That worked! Thank you so much!

    I've seen some sites with more than 3 media query sizes than are in most of SP's css files. Wondering if it's time to start putting more sizes in there given the more screen sizes that are available?

    Thanks for the tip re: custom css before media query.

    I think I figured out the full width content issue.

    You rock.


    Amy Susan Design.com @AmySusanDesign

  • Author
    Posts
Viewing 3 posts - 1 through 3 (of 3 total)
  • The forum ‘General Discussion’ 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