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.

Archive

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

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

Center Navigation


Reply

15 Posts   3408 Views

Avatar
pixelwave

11 September 2008 at 10:56am Community Member, 18 Posts

fail again ... :( ... i am sitting here now for a few hours ^^

Avatar
grilldan

11 September 2008 at 10:59am (Last edited: 11 September 2008 10:59am), Community Member, 135 Posts

Maybe it has something to do with all the extra css you have for the "#Navgation ul li a" tags.

If I could get a copy of your theme, I'd get it working for you.

Avatar
pixelwave

11 September 2008 at 11:02am (Last edited: 11 September 2008 11:04am), Community Member, 18 Posts

just packed it...

www.p-wave.eu/Bruecken_theme.rar

... if you get this working it would be AWESOME! =)

(Theme Copyright by Denny Moritz // pixelWAVE STUDIOS)

Avatar
grilldan

11 September 2008 at 11:56am Community Member, 135 Posts

I apologize for the time, I had a client that needed some help on her website.

Change the code to this:

#Navigation ul {
margin: 0;
padding: 0;
list-style: none;
text-align: center;
   }
   #Navigation ul li {
      display: inline;
      line-height: 2.8em;
      }
      #Navigation ul li a {
         font-weight: 500;
         text-decoration: none;
         display: inline-block;
         height: 2.3em;
         font-size: 1.2em;
         padding: 0 0 0 10px;
         background: url(../images/seperator.gif) no-repeat left top;
         color: #666;
         }

Avatar
pixelwave

11 September 2008 at 12:31pm Community Member, 18 Posts

AWESOME MAN!!! ... worked PERFECT!

i had to do 1 additional tweak, because hover effect wasn't correct anymore..

#Navigation ul {
   margin: 0;
   padding: 0;
   list-style: none;
   text-align: center;
   }
   #Navigation ul li {
display: inline;
line-height: 2.8em;
      margin: 0 auto;
      list-style: none;
      margin: 0 -2px;
      line-height: 2.8em;
/**      display: block;**/
      }
      #Navigation ul li a {
         font-weight: 500;
         text-decoration: none;
         display: inline-block;
         height: 2.3em;
         font-size: 1.2em;
         padding: 0 0 0 10px;
         background: url(../images/seperator.gif) no-repeat left top;
         color: #666;
         }
      #Navigation ul li a span {
         text-align: center;
    float: left;
         padding-right: 10px;
         height: 2.3em;

      }

"margin: 0 -2px;" and "padding: 0 0 0 10px;" ... but now everything works pretty damn good! :)

Avatar
grilldan

11 September 2008 at 1:38pm Community Member, 135 Posts

=) Always glad to help out wherever I can.

Avatar
pixelwave

11 September 2008 at 10:08pm Community Member, 18 Posts

hey grilldan...

... could you maybe help me to solve the last prob i have... customizing the searchbar

http://www.silverstripe.com/site-builders-forum/flat/168230