Closed (fixed)
Project:
AdaptiveTheme
Version:
7.x-3.x-dev
Component:
CSS/HTML
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
14 Feb 2012 at 21:20 UTC
Updated:
17 May 2012 at 01:40 UTC
Hello again Jeff!
My fullscreen design has 2 %-based sidebars (on either side of the main content) like so:
A | Main Content | B
When the screen is tablet sized, I'd like to rearrange so that both sidebars are on the left, with B just stacking underneath A. Like so:
A | Main Content
B |
I started by using the 3rd layout in "Tablet Landscape" (which looks like A | B | Main Content) and tried to have B clear:left, but then B disappears entirely. This seems like it should probably be a pretty simple layout but I can't wrap my head around it!
Comments
Comment #1
Jeff Burnz commentedThere is other CSS pulling the sidebar into position and setting a width on it, use something like this in your media query:
I reckon we could add that as a standard layout, actually I always meant to.
Comment #2
leenwebb commentedAh of course I'd love to see that as a standard option since it's a pattern I use often in responsive designs. :)
That's *almost* working (much closer than I had gotten!), but sidebar B isn't displaying until after the height of the main content area.
Where I want them to occupy the same space:
Comment #3
Chimos commentedI subscribe since I saw the layout options! It is a really common distribution
Comment #4
Jeff Burnz commentedThis is in 7.x-3.x, not likely to be back-ported.
Comment #5
Chimos commentedSorry, where should I use this code? I'm new with this great theme.
Thank you
Comment #6
Jeff Burnz commentedChimos, if you are using 7.x-3.x then you set this in theme settings, as one of the layouts for tablet displays, otherwise it goes in responsive stylesheet in the correct media query, which one you want to use.
If you are building a custom sub-theme jump strait to using 7.x-3.x-dev, trust me, its a lot better and faster.
Comment #7
Chimos commentedYes I'm making my own subtheme using AT commerce as a base and 2.2 of AdaptiveTheme.
I'm not very experimented with Drupal, and I don't know exactly the risk of using a dev version. I must have this web in production soon.
Otherwise, now I see there is 7.x-3.0-Beta1 version. So, are this dev and beta versions safe for this purpose?
Thanks alot
Comment #8
Jeff Burnz commentedOK, I would say play it safe with 7.x-2.x, the dev is very stable and is not going to change much but you never know, its nowhere near as well tested at 7.x-2.x simply due to sheer numbers of users.
Comment #9
Chimos commentedI understand. I will sleep on this decision.
EDIT: I did it.
I had not any problem with the migration, everything fine, and the new version is clearly a forward jump, nice.
Thanks
Comment #12
Jeff Burnz commentedGreat! Well I think this issue is fixed all round, we have the column drop layouts and Chimos issues are resolved.