• 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

sidebar falling below content ipad prose 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 › sidebar falling below content ipad prose theme

This topic is: resolved

Tagged: css, iPad, mobile styling, Prose theme

  • This topic has 6 replies, 2 voices, and was last updated 11 years, 1 month ago by jodzeee.
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • October 6, 2014 at 12:07 pm #126930
    senordeer
    Member

    Hello, I am using the Prose theme, and no matter what I do (decrease width of sidebar, increase/decrease content-sidebar-wrap, etc., the sidebar is still showing up beneath my content on this site: http://zoesfrontporch.com when viewed on ipad, portrait orientation.

    I am using the following: `/* iPad Portrait */

    @media
    only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait)
    {
    css will go here
    }`

    and I see changes when I made them, eg. changing sidebar color, etc., so I know this is the correct code, but would love some advice on getting the sidebar to appear to the right of the content, not below it when viewed in portrait orientation on ipad. Thanks!

    http://zoesfrontporch.com
    October 6, 2014 at 12:46 pm #126934
    jodzeee
    Member

    Have you also tweaked the size of the content area?

    October 6, 2014 at 12:53 pm #126935
    jodzeee
    Member

    Also, find where your sidebar is set to 100%. That may be overriding what you are setting. I'm having a hard time looking at your CSS since it's minified.

    October 6, 2014 at 1:18 pm #126939
    senordeer
    Member

    Actually it is not a responsive theme the dimensions are set to fixed width which is fine it's just the portrait orientation on the ipad, this is the basic layout CSS for that area:

    /** Do not remove this line. Edit CSS below. */
    .sidebar {
    width:280px;
    background:none;
    padding-left:5px;
    padding-right:5px;
    border-left: 1px solid #009DDC;
    }
    .sidebar p {
    width:240px;
    }
    .tagcloud {
    width:250px;
    }
    
    #sidebar.sidebar.widget-area #widget_sp_image-2.widget.widget_sp_image {
    margin-bottom:-5px;
    margin-top:-40px;
    }
    #sidebar.sidebar.widget-area #widget_sp_image-3.widget.widget_sp_image {
    margin-bottom:0px;
    margin-top:-40px;
    }
    #sidebar.sidebar.widget-area #widget_sp_image-4.widget.widget_sp_image {
    margin-bottom:0px;
    margin-top:-33px;
    }
    #sidebar.sidebar.widget-area #widget_sp_image-5.widget.widget_sp_image {
    margin-bottom:0px;
    margin-top:-33px;
    }
    #sidebar.sidebar.widget-area #widget_sp_image-6.widget.widget_sp_image {
    margin-bottom:0px;
    margin-top:-33px;
    }
    
    /* Content
    ------------------------------------------------------------ */
    
    #content {
    	float: left;
    	padding: 10px 0 20px;
    	width:700px;
    }
    
    .sidebar-content #content,
    .sidebar-sidebar-content #content {
    	float: right;
    }
    
    .content-sidebar #content,
    .sidebar-content #content {
    	width: 690px;
    }
    
    .full-width-content #content {
    	border: none;
    	width: 900px;
    }
    
    .page-template-landing-php #content {
    	margin: 0 auto;
    	width: 680px;
    }
    
    .post {
    	margin: 0 0 40px;
    	overflow: hidden;
    }
    
    /* Content-Sidebar Wrap
    ------------------------------------------------------------ */
    
    #content-sidebar-wrap {
    	float: left;
    	width: 630px;
    }
    
    .page-template-landing-php #content-sidebar-wrap {
    	margin: 0 auto;
    	float: none;
    	width: 700px;
    }

    But I have tried adjusting all areas of this in all different ways for the ipad and the sidebar still falls below the content, even when I decrease the size. It's so weird.

    October 6, 2014 at 1:49 pm #126943
    jodzeee
    Member

    So are we not talking about the link you provided, because on that, I'm finding this:

     @media only screen and (min-device-width:768px) and (max-device-width:1024px) and (orientation:portrait) {
    body,
    .content-sidebar-sidebar #content,
    .content-sidebar #content,
    .footer-widgets-1,
    .footer-widgets-2,
    .footer-widgets-3,
    .full-width-content #content,
    .page-template-landing-php #content,
    .page-template-landing-php #content-sidebar-wrap,
    .sidebar-content #content,
    .sidebar-content-sidebar #content,
    .sidebar-sidebar-content #content,
    #content-sidebar-wrap,
    #footer,
    #footer .creds,
    #footer .gototop,
    #footer-widgets,
    #header,
    #nav,
    #sidebar,
    #sidebar-alt,
    #subnav {
    width:100%;
    }

    Also, are you trying to make it fit in the portrait orientation, or scroll horizontally? In what you just provided, it appears that you've got a 630px sidebar wrap + 700px content which is quite a bit larger than the screen size.

    October 6, 2014 at 2:39 pm #126946
    senordeer
    Member

    Thanks so much yes that was the code in the original theme, I actually figured it out and am posting here, thanks again for the time!

    /* iPad Portrait */
    @media only screen and (min-device-width: 768px) and (max-device-width: 1024px) and (orientation: portrait) 
    {
    .content-sidebar #content,
    .sidebar-content #content {
    	width: 600px;
    }
    .post {
    width:600px;
    }
    #sidebar {
    width:250px;
    }
    }
    October 6, 2014 at 3:00 pm #126947
    jodzeee
    Member

    Glad you got it sorted out. Please mark this as resolved.

  • Author
    Posts
Viewing 7 posts - 1 through 7 (of 7 total)
  • The topic ‘sidebar falling below content ipad prose theme’ is closed to new 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