Putting a class on a site map UL


(Geoffrey Bailey) #1

Is there a way to put a class on an unordered list that is generated by a site map asset? I just want the class to be applied to the first UL tag and not any nested UL's.


(Geoffrey Bailey) #2

Anyone there…?


(Adam Fisher) #3

Couldn't you try wrapping the site tree in a CSS-addressable element (eg a div with an id). Then you can use
#yourId ul {

whatever styles you wanted

}

#yourDiv ul ul {

styles for subsequent uls

}



This is just off the top of my head, dunno if it'll work…


(Avi Miller) #4

[quote]Is there a way to put a class on an unordered list that is generated by a site map asset? I just want the class to be applied to the first UL tag and not any nested UL’s.
[right][post=“15928”]<{POST_SNAPBACK}>[/post][/right][/quote]



Currently, there is no way to style individual levels of a Site Map. Adam’s method is what we use to format unordered lists.