Support Has Moved!

Please post all new questions on the new support system

Before posting a discussion topic, be sure to check out our Forum Rules and Support Policy.

Get design feedback and approval with our newest WordPress plugin, ProjectHuddle. Check it out →

Latest Struck Version is 1.06

Latest GridStack Version is 1.1

Latest Edition Version is 1.6

Latest District Version is 1.2.6

Latest ExtraNews Version is 1.4.9

Latest Aware Version is 1.4

Latest BigFormat Version is 1.4

Latest Bookcase Version is 1.54

Latest Ellipsis Version is 1.5

Move SUBSCRIBE to top on mobile

generaladmissionchicago's Avatar

generaladmissionchicago

26 Jul, 2015 07:14 PM

My website is generaladmissionchicago.com. Love the theme, but trying to get the sidebar to appear above the posts and under MAIN MENU on iPhones.

Is this possible?

I'm an amateur, so the highest level of detail you can give me is helpful.

  1. 1 Posted by Eric Schmidt on 27 Jul, 2015 03:22 PM

    Eric Schmidt's Avatar

    Hi,

    The first step would be to either edit the functions/templates/single-sidebar.php file or copy that file into the same location of a child theme so you don't lose your changes. You'd need to flip the order of the content and sidebar, and also add a custom class we can target later. Move this code block...

    <div class="four columns offset-by-one">
                    <div class="sidebar">
                         <?php /* Widget Area */ if ( !function_exists( 'dynamic_sidebar' ) || !dynamic_sidebar('Single Post Sidebar') ) ?>
                    </div>
                </div>
    

    To be just before the eleven columns div here...

    <div class="eleven columns">
    

    Also, add a class we can target...

    <div class="four columns offset-by-one post-sidebar">
    

    Then add this custom css to move the sidebar to the right...

    .single .post-sidebar {
    float: right;
    }
    

    Eric

  2. Eric Schmidt closed this discussion on 27 Jul, 2015 03:22 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac