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've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

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   1466 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?