• 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

Change order of widgets on small screens

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 › Change order of widgets on small screens

This topic is: not resolved

Tagged: css, custom, genesis, php, responsive, widget

  • This topic has 1 reply, 1 voice, and was last updated 7 years, 3 months ago by myersbr2.
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • December 17, 2015 at 3:49 pm #174128
    myersbr2
    Member

    I started with the Lifestyle Pro theme but have made so many changes it is hardly recognizable as such. I'm finalizing the mobile layout for smaller screens and I want to display certain widgets above the content when pixel width dictates the layout goes to a single column. In my right sidebar I currently have About Me, Search and a few ads. I want the search widget to appear above the content when it goes to a single column layout. Specifically and only on the home page, I want the about me to also go above the content. Using CSS, I can get the entire sidebar to show up first, but I only want specific widgets to show up above the content. How can I do this?

    Current CSS to move everything in the sidebar above the content is:

    .content-sidebar-wrap {display:table;}
    .content {display:table-footer-group; float: none;}
    .sidebar {display:table-header-group; float: none;}
    }

    http://local install for now
    December 18, 2015 at 8:32 am #174204
    myersbr2
    Member

    Update: I have used CSS to hide some of the widgets I don't want to display on small screens. I guess I could create additional widgets, place them in the updated page location for different screen sizes and then use CSS to selectively hide/display them based on screen size, but that seems very inefficient. Is there a better way?

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