little trouble with the left sidebar

impete82 - July 17, 2008 - 20:28
Project:Interactive Media
Version:6.x-1.8
Component:Code
Category:support request
Priority:normal
Assigned:hswong3i
Status:closed
Description

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

#1

hswong3i - July 25, 2008 - 15:00
Assigned to:Anonymous» hswong3i

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

hswong3i - July 26, 2008 - 08:54

Well... This is a FAQ... Also mentioned in case of Multiflex-3: http://drupal.org/node/278243

#3

hswong3i - August 7, 2008 - 17:35

Any else update? Or I will set this issue as fixed :-)

#4

hswong3i - August 23, 2008 - 08:00
Status:active» fixed

Assume as fixed since no more feedback.

#5

Anonymous (not verified) - September 6, 2008 - 08:02
Status:fixed» closed

Automatically closed -- issue fixed for two weeks with no activity.

 
 

Drupal is a registered trademark of Dries Buytaert.