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

Center Navigation


Go to End


15 Posts   4842 Views

Avatar
pixelwave

Community Member, 18 Posts

11 September 2008 at 10:56am

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

Avatar
grilldan

Community Member, 135 Posts

11 September 2008 at 10:59am

Edited: 11/09/2008 10:59am

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

Community Member, 18 Posts

11 September 2008 at 11:02am

Edited: 11/09/2008 11:04am

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

Community Member, 135 Posts

11 September 2008 at 11:56am

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

Community Member, 18 Posts

11 September 2008 at 12:31pm

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

Community Member, 135 Posts

11 September 2008 at 1:38pm

=) Always glad to help out wherever I can.

Avatar
pixelwave

Community Member, 18 Posts

11 September 2008 at 10:08pm

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

Go to Top