You are here:  » Adding a menu to the header


Adding a menu to the header

Submitted by thepricesite on Tue, 2006-11-07 11:51 in

All,
I'm trying to add a generic menu to my pages such as Electronics, Home& Garden etc - but want to make the links White with no underlines.

Can anyone offer any advice as to how i add this to the default.css and apply this to the menu?

Regards,

Michael

Submitted by support on Tue, 2006-11-07 12:02

Hi Michael,

The easiest way is to create a named class and use that in the A tag for your links, then create a style for the class that defines the color and decoration. A link might look like this:

<a class='hmenu' href='/search.php?q=category:Electronics:'>Electronics</a>

Then in default.css:

a .hmenu {
  color: white;
  text-decoration: none;
}

That should do the trick!
Cheers,
David.

Submitted by thepricesite on Tue, 2006-11-07 12:03

Your the man....
Will give it a whirl later :)

Michael @ ThePriceSite