Category Sections - Separate UL/LI styling

3 posts by 3 authors in: Forums > CMS Builder
Last Post: April 23, 2009   (RSS)

Re: [nikkijones] Category Sections - Separate UL/LI styling

By ross - April 22, 2009

Hi Nikki

Thanks for posting!

Just so you know, anything's possible :). We just have to figure out (together) how to make it work.

Could you post the code you are working with and possibly even a link to your site so I can see it in action?

Thanks!
-----------------------------------------------------------
Cheers,
Ross Fairbairn - Consulting
consulting@interactivetools.com

Hire me! Save time by getting our experts to help with your project.
Template changes, advanced features, full integration, whatever you
need. Whether you need one hour or fifty, get it done fast with
Priority Consulting: http://www.interactivetools.com/consulting/

Re: [nikkijones] Category Sections - Separate UL/LI styling

By Deborah - April 23, 2009

Hi, nikkijones.

I think you'll need to add another class to your CSS. You currently have styling for:
#LeftColumn A:link
#Left Column A:visited
#LeftColumn A:hover
#treatments ul
#treatments li

But I don't see anything for:
#treatments ul ul (which defines your sub-level list)

Apply separate styling for the top-level and sub-level in your style sheet by defining values for the following:

#treatments ul
#treatments ul li
#treatments ul li a

#treatments ul ul
#treatments ul ul li
#treatments ul ul li a

Be sure to override any styling you don't want in the second level that is in the first level, otherwise that style will be inherited.

Hope that makes sense.
~ Deborah