Posted by pete_dr on July 17, 2008 at 8:28pm
Jump to:
| Project: | Interactive Media |
| Version: | 6.x-1.8 |
| Component: | Code |
| Category: | support request |
| Priority: | normal |
| Assigned: | hswong3i |
| Status: | closed (fixed) |
Issue Summary
i am trying to expand the middle where all the content is, and i change
body.sidebar-left #squeeze {
margin-left: 290px;
}
body.sidebar-right #squeeze {
margin-right: 290px;
}
body.two-sidebars #squeeze {
margin: 0 290px;
}
to say 250px or so, which does the trick, but after doing that i can't seem to click on any of my text that slide over. help :S
Comments
#1
Because you need some more change to the theme... This is all the magic handling of "fluid width" layout implementation... For detail please refer to below code snippet (keep your eye on how 290px and -290px are used):
/* So we move the #center container over the sidebars to compensate */body.sidebar-left #center {
margin-left: -290px;
}
body.sidebar-right #center {
margin-right: -290px;
}
body.two-sidebars #center {
margin: 0 -290px;
}
/* And add blanks left and right for the sidebars to fill */
body.sidebar-left #squeeze {
margin-left: 290px;
}
body.sidebar-right #squeeze {
margin-right: 290px;
}
body.two-sidebars #squeeze {
margin: 0 290px;
}
/* We ensure the sidebars are still clickable using z-index */
#wrapper #container .sidebar {
width: 290px;
float: left;
z-index: 2;
position: relative;
}
#2
Well... This is a FAQ... Also mentioned in case of Multiflex-3: http://drupal.org/node/278243
#3
Any else update? Or I will set this issue as fixed :-)
#4
Assume as fixed since no more feedback.
#5
Automatically closed -- issue fixed for two weeks with no activity.