WP Smith

Creating WordPress & Genesis Websites Since 2010

  • Home
  • About
  • Services
  • Blog
  • Contact

Apr 09 2011

Move Genesis Sidebar

There are many times due to adding various actions that I will accidentally do something (like adding an additional wrap wrongly) that will cause havoc on my sidebar where my sidebar will appear below my content. What happens is that the #sidebar is now subordinate to #content instead of them appearing together in #content-sidebar-wrap (or whatever). So I have found a simple solution for this when this happens. I move my sidebar up.

I simply add this to my functions.php file:
[php]
remove_action('genesis_sidebar','genesis_do_sidebar');
add_action('genesis_before_content', 'genesis_do_sidebar');[/php]

Yes, I recognize that this is only a bandaid, but...

Written by Travis Smith · Categorized: Genesis

StudioPress Premium WordPress Themes     WP Engine Managed WordPress Hosting

What can I do for you!?

Custom Development

We develop plugins by determining both business/functional and technical requirements, following WordPress development best practices, and using agile methodology to ensure you get the best solution.

Consulting

Have questions? Need a reliable developer to consult? Please contact us today!

Customized Theme

We can customize your theme or child theme, or create a child theme for you based on your needs while enhancing the performance of every individual attribute.

Customized Plugin

We can customize your plugins, extend plugins (e.g., Gravity Forms, Jetpack, Soliloquy) based on your needs ensuring security, performance, and positive business impact.

Contact Us

About Travis Smith

As a WordPress enthusiast, developer, and speaker, Travis writes about what he learns in WordPress trying to help other WordPress travelers, beginners and enthusiasts with tutorials, explanations, & demonstrations.

Comments

  1. Bruce says

    April 10, 2011 at 8:52 am

    This is very useful… and ends up saving a lot of time struggling to figure things out 🙂
    Good tip!

    Reply

Leave a Reply Cancel reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

  • Twitter
  • Facebook
  • LinkedIn
  • Google+
  • RSS

Copyright © 2025 � WP Smith on Genesis on Genesis Framework � WordPress � Log in