Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » gap in menu1 because of hidden menus

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

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

Page: 1
Go to End
Author Topic: 960 Views
  • AndreasR
    Avatar
    Community Member
    4 Posts

    gap in menu1 because of hidden menus Link to this post

    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;
                   }

  • Willr
    Avatar
    Forum Moderator
    5464 Posts

    Re: gap in menu1 because of hidden menus Link to this post

    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?

    960 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.