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.

Template Questions /

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

CSS drop down menu


Go to End


3 Posts   4674 Views

Avatar
nadi

Community Member, 6 Posts

7 August 2009 at 2:55pm

Edited: 07/08/2009 3:03pm

Hi guys,
I want to create a css drop down menu for my site. The drop down items will be the sub pages of the main pages. I hope you know what i mean. So which part of the layout.css needs to be change in order to get right? And can some one show me an example?
Thanx in advance

Avatar
scpi

Community Member, 21 Posts

20 August 2009 at 9:00am

In layout.css, search for #Navigation

A whole explanation of the process would be too long to type here, but here's an example of CSS image replacement and drop-down menus in use:
http://www.danscamera.com/

The original article on CSS "suckerfish" drop-down menus is here:
http://www.alistapart.com/articles/dropdowns/
And a hybrid approach:
http://www.alistapart.com/articles/hybrid/

You can read about CSS "sprites" here:
http://www.alistapart.com/articles/sprites/

Avatar
Silver

Community Member, 12 Posts

20 January 2010 at 6:54pm

Hey do you guys know of any tutorials for how to add Mega drop down menus (for navigation).....and have the content controlled through SS? Thank you...