Author Topic: A class in show_menu2  (Read 2045 times)

Offline Gerben de G.

  • Posts: 24
A class in show_menu2
« on: August 20, 2008, 09:21:03 PM »
For the menu i use the code snippet show_menu2.
Works nice, but i have a little problem and i dont know how to solve it (or is it just because i'm a noob? :roll:)

Anyway, the links on my menu are the standard links, but how can i use another class so that my links are different from the rest of the website? show_menu2 don't has a function for this, or i can't find it.

Thanx for your help,

Offline kweitzel

  • WebsiteBaker Org e.V.
  • **
  • Posts: 6983
  • Gender: Male
Re: A class in show_menu2
« Reply #1 on: August 20, 2008, 09:49:46 PM »
Hi Gerben,

the easiest way is to "wrap" the different menu in a different container and then style the subclasses of that container like u does ...

Code: [Select]
<div id="menu1">
  <?php show_menu(1); ?>

<div id="menu2">
  <?php show_menu(2); ?>

the rest is done within the css ... will work with show_menu2() as well.