buddypress / next-template-packs

is this the next BuddyPress template pack?
35 stars 9 forks source link

User & Group Navigation: vertical layout choice #59

Closed hnla closed 8 years ago

hnla commented 8 years ago

In a similar approach we have taken to providing a grid layout choice for the loops, I'm building a set of classes to handle the user/group account screen nav elements to style them in roughly the same way we did for the companion styles.

We will provide this choice via a Customizer selection.

As we are still building these BP elements in a situation where we don't control or know all layout aspects of a theme, we will build the styles in a theme choice that suits the type of layout (2013 an example of a layout with width to suit the layout)

It will be up to the admin user to make a choice or selection based on whether it suits that particular theme they are using.

Breakpoint or responsive visual layout will also be hard to build in but likely the vertical style will be hooked to the larger screens upwards only.

hnla commented 8 years ago

The class for the moment is vertical this I'm hardcoding on the #object-nav element and is where we would render the token dynamically.

We also need a class that wraps a wider section as we need to style elements such as #item-body this will be bp-vertical-nav normally I would suggest we run this on the body class - for testing I'm hardcoding this to our #buddypress elements in single/home.php

hnla commented 8 years ago

N.B All token names are open to discussion and change I hate naming stuff!

hnla commented 8 years ago

Cool, all seems to work fine, just need to refine the styles.