Answer the question
In order to leave comments, you need to log in
Why is layout floating in zen, drupal?
Got a theme that needs to be made adaptive. I edit via scss.
I have the following:
* The layout when there is only one sidebar, the right one.
*/
.sidebar-second {
/* Span 4 columns, starting in 1st column from left. */
#content {
@include zen-grid-item(4, 1);
}
/* Span 1 column, starting in 5th column from left. */
.region-sidebar-second {
@include zen-grid-item(1, 5);
}
}
.sidebar-second #content {
float: left;
width: 400%;
margin-left: 0%;
margin-right: -400%;
.sidebar-second .region-sidebar-second {
float: left;
width: 100%;
margin-left: 400%;
margin-right: -500%;
.sidebar-second #content {
float: left;
width: 80%;
margin-left: 0%;
margin-right: -80%;
.sidebar-second .region-sidebar-second {
float: left;
width: 20%;
margin-left: 80%;
margin-right: -100%;
Answer the question
In order to leave comments, you need to log in
Question removed. It's about the compass .. if anything, here is the solution https://www.drupal.org/node/2188263#comment-9105325
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question