• 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

Reorder widget areas on mobile

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 › Reorder widget areas on mobile

This topic is: resolved

Tagged: mobile, widget area

  • This topic has 5 replies, 2 voices, and was last updated 7 years, 5 months ago by [email protected].
Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • May 22, 2018 at 9:23 pm #220173
    [email protected]
    Member

    I am using News Pro. Mobile devices display the “home-middle-left” widget area first, then “home-middle-right.” I would like to reverse this order on mobile devices. Any suggestions?

    Steve
    atomikpop.com

    http://atomikpop.com
    May 23, 2018 at 5:28 am #220174
    Victor Font
    Moderator

    In the media query that applies to the mobile size you are targeting, reverse the floats for the two areas. .home-middle-left defaults to float: left; and .home-middle-right defaults to float: right;

    Change this so .home-middle-left is float: right; and .home-middle-right is float: left;


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 24, 2018 at 4:22 am #220206
    [email protected]
    Member

    Thanks, Victor. This is set in style.css?

    Steve

    May 24, 2018 at 6:39 am #220209
    Victor Font
    Moderator

    Yes.


    Regards,

    Victor
    https://victorfont.com/
    Call us toll free: 844-VIC-FONT (842-3668)
    Have you requested your free website audit yet?

    May 28, 2018 at 5:27 pm #220316
    [email protected]
    Member

    Victor, my media quert does not mention float (original code is below). Should I add the following? Also, what do the fist 20 lines below do?

    }

    .home-middle-left {
    border: none;
    float: right
    }

    .home-middle-right {
    border: none;
    float: left
    }

    I appreciate your time,

    Steve

    --- Original Code Below ---


    @media
    only screen and (max-width: 600px) {

    .five-sixths,
    .footer-widgets-1,
    .footer-widgets-2,
    .footer-widgets-3,
    .footer-widgets-4,
    .footer-widgets-5,
    .footer-widgets-6,
    .four-sixths,
    .home-middle-left,
    .home-middle-right,
    .one-fourth,
    .one-half,
    .one-sixth,
    .one-third,
    .three-fourths,
    .three-sixths,
    .two-fourths,
    .two-sixths,
    .two-thirds {
    margin: 0;
    width: 100%;
    }

    .content #genesis-responsive-slider .flex-direction-nav li .next,
    .content #genesis-responsive-slider .flex-direction-nav li .prev,
    .content .slide-excerpt {
    display: none;
    }

    .home-middle-left {
    border: none;
    }

    .header-image .site-header .site-title a {
    background-size: contain !important;
    }

    .entry-title {
    font-size: 26px;
    font-size: 2.6rem;
    }

    }

    June 17, 2018 at 6:58 pm #220919
    [email protected]
    Member

    Changing the float reversed the order on screens that could display two columns; however, on smaller screens the home-middle-left widget always displayed before (on top) before the home-middle-right widget.

    I solved this by going into front-page.php and reversing the positions of the home-middle-left and home-middle-right widgets. Now, the home-middle-right widget displays first on smaller mobile devices.

    Thanks,

    Steve

  • Author
    Posts
Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Reorder widget areas on mobile’ 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