Jonnyauk / Wonderflux

A free, professional Open Source theme framework for WordPress & BuddyPress. Download the latest stable release by clicking on the 'releases' tab. API documentation at http://wonderflux.com/guide or drop by the main site at
http://wonderflux.com
159 stars 46 forks source link

Support for multiple sidebars #13

Closed Jonnyauk closed 6 years ago

Jonnyauk commented 11 years ago

Currently Wonderflux only supports a single sidebar (with nice options) - although it's easy to insert other sidebars or content using the extensive hook system if you want.

Jonnyauk commented 11 years ago

This needs to be completed with at-least one additional sidebar before work continues on the new responsive CSS grid as multiple sidebars will probably have some effects on how this is built. In the future Wonderflux should support upto 3 (maybe 4?) additional sidebars through simple options.

Jonnyauk commented 11 years ago

I've been playing around with this and have it semi-working with a new sidebar. The issue has been the crazy margins required to (re)position the elements - the actual flow of the output of the xhtml in the main content area is:

content -> sb1 -> sb2

But if I was going to do it properly I needed to take all situations into consideration:

content - sb1 content - sb2 sb1 - content sb2 - content sb1 - content - sb2 sb2 - content - sb1 sb1 - sb2 - content sb2 - sb1 - content content - sb1 - sb2 content - sb2 - sb1

I have the CSS hard-coded and am working on the calculations for the dynamic grid. The gutters between the columns are causing issues, but these are going to be removed in the new responsive CSS grid system in v2.0. I've also experimented with my alpha percentage based responsive layout grid and it works great ;)

Jonnyauk commented 11 years ago

Have had to move this development to v2.0 - it's part of a much bigger code revision - issue #7.