- This topic has 7 replies, 2 voices, and was last updated 10 years, 5 months ago by .
- The topic ‘Primary and secondary sidebars not aligning when adding another widget area’ is closed to new replies.
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.
I have registered a double-width sidebar above my primary and secondary sidebars on this site: http://www.http://retro-food.com/
Curiously, or maybe not so curiously, it sits above the primary sidebar fine, but the secondary sidebar floats on top, unless I add a margin (which I hate). For whatever reason, every time I visit the site, the sidebar is off. I fix it again, and it's off.
I had a problem previously hooking this sidebar without having to also add a negative margin to the content. I put it in every sidebar option, and this has worked the best. Just telling you this as a little background. I have hooked it in genesis_before_content.
Thank you, beautiful community!
Since you want the double-width area to span above the primary sidebar (which is in content-sidebar-wrap) and the secondary sidebar wrap (which isn't), then you're either going to need a top margin, some convoluted CSS (in 5 minutes I couldn't charm it all neatly into position), or you need to approach it from the other direction - take a single (primary) sidebar, and split it into two underneath it.
Not sure if the code still works, but http://code.garyjones.co.uk/genesis-split-sidebars should give you a good starting point.
This worked perfectly, thank you!
I am having another problem, now. I need the header background for the large sidebar to cover the entire width. I've tried all sorts of things to do that, and nothing is working!
Yes! Thank you.
Perfect! Thank you!
© 2023 WPEngine, Inc.