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, ...Add pipe | to solpart horizontal menu?Add pipe | to solpart horizontal menu?
Previous
 
Next
New Post
12/4/2006 11:33 AM
 
How does one add a pipe to the solpart horiz, menu? I looked at the menubreak css line but not sure how to edit it.
Basically I just want to add a | after each menu item.

Thanks,
Dan
 
New Post
12/5/2006 5:40 AM
 
If using the html/xml skinning method, add this to the appropriate location [SolPartMenu] in the skin.xml file:
<Setting>
<Name>Separator</Name>
<Value><![CDATA[&nbsp;&nbsp;|&nbsp;&nbsp;]]></Value>
</Setting>

If using the .ascx method, then it's like this in the skin.ascx:
< dnn:SolPartMenu runat="server" id="dnnSolPartMenu" SeparateCss="True" Separator="&nbsp;&nbsp;|&nbsp;&nbsp;" />

This will give you a vertical pipe in the same style as your mainMenu_MenuItem class...
One more thing: a common error is mis-spelling the word "separator". Many people want to use "seperator", and the error is hard to find in code.

 
New Post
12/5/2006 7:34 AM
 
Thanks Sam that worked.
Follow up question if I may?
The pipe is coming in with a grey border. How can I make its border match the bg color of the cell that it is in?

Regards,
Dan

The site is:
http://216.94.10.127/dnn

Also for anyone else that is following, you need to change the line in the body of your skin.ascx tag (my line 44) that holds the solpart menu tag. Not the line at the top that "registers" the solpart menu (my line 4) .
 
New Post
12/5/2006 12:21 PM
 

First get control of the style by adding another parameter to the menu declaration in skin.ascx:
 separatorcssclass="mySeparatorClass"
Then style it any way you like in the skin.css file:

.mySeparatorClass{
border: 1px solid red;
background-color: yellow;
}

 
New Post
12/5/2006 1:36 PM
 
Thanks, I'll give that a shot tonight and let you know how it goes.
 
Previous
 
Next
HomeHomeUsing DNN Platf...Using DNN Platf...Skins, Themes, ...Skins, Themes, ...Add pipe | to solpart horizontal menu?Add pipe | to solpart horizontal menu?


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