• 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

Reposition secondary sidebar in responsive layout

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 › Reposition secondary sidebar in responsive layout

This topic is: not resolved
  • This topic has 2 replies, 2 voices, and was last updated 6 years, 12 months ago by Nomad.
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • March 25, 2016 at 8:29 am #182225
    Nomad
    Member

    I am using the education pro theme and have a few pages that are using the sidebar/content/sidebar layout. This puts the secondary sidebar to the left of the content. Currently when sizing to smaller devices the secondary sidebar drops below the content and primary sidebar. How do i change this so that when on smaller screens the secondary sidebar is at the top followed by the content and primary sidebar.

    thanks

    March 26, 2016 at 9:43 am #182287
    Christoph
    Member

    Hi,

    you can try to add the following to the media query for 1023px around line 2196 of the style.css:

       .site-inner {
        	display: table;
        }
        .content-sidebar-wrap {
              display:table-footer-group;
              float: none;
       }
        .sidebar-secondary {
              display:table-header-group; 
              float: none;
       }
    
        .content-sidebar-wrap .content,
        .content-sidebar-wrap .sidebar {
        	width: 100%;
       }

    https://www.christophherr.com | Genesis Customizations | Buy me a coffee

    March 27, 2016 at 1:41 am #182309
    Nomad
    Member

    thanks for getting back Christoph I will give it a try. In the meantime i decided to go with a different layout to get the same effect. Going with content sidebar and then within content i have two columns....this is working as i want it.

  • 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