Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Different Colour Menu ButtonsDifferent Colour Menu Buttons
Previous
 
Next
New Post
11/3/2011 4:07 PM
 
I am trying to get the skin to have different colour menu buttons and submenus, e.g., menu button 1 and submenu 1 is navy, menu button 2 and submenu 2 is red, menu button 3 and submenu button 3 gold, and menu button 4 and submenu button 4  black.  Is there a skin, or code that will let me do that?
 
New Post
11/3/2011 6:22 PM
 
Hi<br /> <br /> If you a re using ddrmenu and xsl tempaltes you can do it like this<br /> <br /> <div style="border: 1px solid #7f9db9; overflow-y: auto;" class="reCodeBlock"> <div style="background-color: #ffffff;"><span style="margin-left: 0px ! important;"><code style="color: #000000;"><</code><code style="color: #006699; font-weight: bold;">li</code><code style="color: #000000;">><</code><code style="color: #006699; font-weight: bold;">xsl:attribute</code> <code style="color: #808080;">name</code><code style="color: #000000;">=</code><code style="color: blue;">"class"</code><code style="color: #000000;">>tab_<</code><code style="color: #006699; font-weight: bold;">xsl:value</code> <code style="color: #000000;">of </code><code style="color: #808080;">select</code><code style="color: #000000;">=</code><code style="color: blue;">"position()"</code><code style="color: #000000;">/></</code><code style="color: #006699; font-weight: bold;">li</code><code style="color: #000000;">></code></span></div> </div> <br /> <br /> <code style="color: #000000;"> then in your css you can do <br /> <br /> tab_1{background-color:lime;}<br /> tab_2{baxkground-color:red;}<br /> <br /> you can also do it by id of the tab    then you use value-of slect="@id"<br /> <br /> I wouldnt do it by name because then it will not work if you ahve a tab name that consists of 2 words<br /> <br /> </code>
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Different Colour Menu ButtonsDifferent Colour Menu Buttons


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out