Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

Archive /

Our old forums are still available as a read-only archive.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo

gap in menu1 because of hidden menus


Go to End


2 Posts   1282 Views

Avatar
AndreasR

Community Member, 4 Posts

10 July 2008 at 5:28pm

Hi guys,
i have an issue with the menu1 buttons.
There is a gap between menu1 and content, and i think that has to do with the hidden menus with the behavior "Show in menu?" not ticked.
How can i get rid of that gap? obviously the hidden menus get also calculated in the height of the menu1.

i have also attached a screen shot of the gap I am talking about.

Below I have cut this out of layout.css:

i hope you can help with with - i guess for you - simple problem.

Thanks
Andreas

#Menu1 {
padding:0px 0px;

}
#Menu1 li {
float:left;
background:url(../images/columbard/headerindicator.GIF) no-repeat left;
}
#Menu1 li.current,
#Menu1 li.section {
background:url(../images/columbard/currentheaderindicator.GIf) no-repeat left;
}
#Menu1 li a {
display:block;
color:#666666;
font-weight:bold;
font-family: Arial;
font-size:12px;
text-decoration:none;
padding:0px 18px 0px 15px;
}
#Menu1 li a:hover {
color:#fbc84d;
}
#Menu1 li.current a,
#Menu1 li.section a {
color:333;
}

Avatar
Willr

Forum Moderator, 5523 Posts

10 July 2008 at 10:16pm

It shouldnt have anything to do with the hidden menu - as it should completely ignore it. Do you have a link were we could see a live version?