Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

General questions about getting started with SilverStripe that don't fit in any of the categories above.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Using a ChildrenOf call causes the css to combust

Go to End

4 Posts   1243 Views


Community Member, 7 Posts

31 March 2009 at 5:07am

Hi there,
I'm using 2 templates for a site im working on - Homepage, and Page, each of these templates has its own layout.css.

I'm using the ChildrenOf function, to display a menu on the hompage, with a list of pages from another part of the site;

this is working well, with one small issue - the pages are being listed on the menu, however, the default list style 'dot' is being added before each page link.

list-style:none; is not getting rid of the default listing scheme, im wondering if anyone has any solutions for this?

Thanks in advance



Forum Moderator, 5523 Posts

1 April 2009 at 4:55pm

Could you post your css. Make sure you are doing the list-style: none; on the li object (and not the ul object as some people do). Make sure your css file is being loaded on the site and also make sure your css rule isnt getting overridden


Community Member, 904 Posts

2 April 2009 at 7:23pm

Edited: 02/04/2009 7:24pm

AFAIK it's list-style-type:none you should use


Community Member, 7 Posts

3 April 2009 at 12:19am

Hi Guys,

Thanks for getting back to me on such a trivial issue - list-style-type:none, did the trick, I'm off to buy a book on css:)