Portal Engine Questions on portal engine and web parts.
Version 4.x > Portal Engine > CSS List Menu Style Issue View modes: 
User avatar
Member
Member
amanda.ransburgh-ohioattorneygeneral - 4/17/2009 10:14:44 AM
   
CSS List Menu Style Issue
I am using the CSS list menu and I need to insert a style within the secona <ul> tag.

Here is the code I have:
<ul id="menuElem">
<li class="menuhdr expand"><a href="/files/Forms" >Forms</a></li>
<ul>
<li><a href="/files/Publications/Form1" >Form 1</a></li>
</ul>
<li class="menuhdr expand"><a href="/files/Publications" >Publications</a>
<ul>
<li><a href="/files/Publications/Pub1" >Pub 1</a></li>
<li><a href="/files/Publications/Pub2" >Pub 2</a></li>
</ul>
</li>
<li class="menuhdr expand"><a href="/files/Reports" >Reports</a>
<ul>
<li><a href="/files/Reports/Report1" >Report 1</a></li>
<li><a href="/files/Reports/Report2" >Report 2</a></li>
</ul>
</li>
</ul>

As I said, I need the second <ul> tags (the <ul> tags under Files, Publications, and Reports) to have a style.

How do I accomplish this?

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 4/17/2009 11:38:23 AM
   
RE:CSS List Menu Style Issue
Hello,

You can set 'Render CSS classes' within 'CSS list menu' webpart properties and insert following 'CSS prefix': main;sub;subsub

This will enforce that 'sub' prefix will be added to your second level menu items (<ul> tags). Please see more info here: devnet.kentico.com/docs/controls/using_the_cssprefix_property_for_design_of_sub_menus.htm

User avatar
Member
Member
Armysniper89 - 9/11/2011 8:02:16 PM
   
RE:CSS List Menu Style Issue
How can we find this documentation these days...I cannot find it and the link you have is broken.

User avatar
Kentico Support
Kentico Support
kentico_radekm - 9/12/2011 1:16:35 AM
   
RE:CSS List Menu Style Issue
Hello.

We are sorry. Proper link is here: http://devnet.kentico.com/docs/controls/cms_navigation_using_the_cssprefix_property.htm

Best Regards,
Radek Macalik