This code generates a new Genesis layout option which will appear next to your existing default layout images like this:
Small Content Big Sidebar
This screenshot shows the single post layout using the code below. The PHP code creates a small content, big sidebar layout and can also be used on any archive page.
Code Installation
After downloading the folder, copy ALL the PHP code from the functions.php file excluding the opening php tag and paste it at the end of your child themes functions.php file using a text editor like Notepad++.
The CSS goes at the end of your child themes style.css file before the Media Queries.
Here’s the code for members:
Carl says
Thanks for the tip, very useful – you mention to copy the code – can specify where to find it? Thx
Brad Dalton says
Yes, click the Download Custom Layout for Genesis Button.
Its for members only.
Kimberly Reynolds says
Brad,
Small Content Big Sidebar works like a dream! Super easy to add your code to functions.php and update the stylesheet in the Genesis 1140 child theme.
Sure wish I would have seen your note on StudioPress sooner ( http://www.studiopress.com/forums/topic/change-width-of-sidebar-and-main-column-in-sample-theme/ )
Thanks so much!
Kimberly
Brad Dalton says
Thanks for the feedback Kimberly.
Faiek says
I just have one question , the above code gives you content-sidebar layout , what if you want it sidebar-content option ?
Brad Dalton says
What have you tried so far?
I think i’ve made it as easy as it can possibly get to modify.
You’ll never learn anything if you’re always given the solution.
Faiek says
Many Thanks !!! Just what I was looking for , I suppose I can also create a 50/25/25 content/sidebar/sidebar split using this code and just tweaking it a bit
Brad Dalton says
I think it would simply be a matter of using the CSS for that yes.
Jennifer says
Hi. I uploaded the image you provided to a folder named layout inside my child theme’s images folder. How do I get the image to appear in the themes settings default layout? Thank you.
Brad Dalton says
Hi Jennifer
Please check the file path, name and extension.
Only works in a child theme.
eriii says
How about if we would like to make a 3 column theme for Genesis? 2 content columns and 1 sidebar.
Would love to know thank you!
Brad Dalton says
You would need to use content column classes. http://wpsites.net/web-design/creating-content-columns-in-wordpress-posts-pages/