Sitemap not adding sibling class to LI element on one page
Hi,
I'm building a site and I'm just adding a sitemap to the footer. It works fine except on one page.
I'm using CSS on the sibling class to float the block left to each other as seen on the home page.
http://www.ritsweb.co.uk/connectchur....php/home.html
If you look on the whats on page then the sibling class does not exist on the li element so it doesn't display correctly.
http://www.ritsweb.co.uk/connectchur.../calendar.html
Any ideas why this might be?
Thanks
James
Re: Sitemap not adding sibling class to LI element on one pa
Strange indeed, seems that you're using another navigation template on that page. You also have a forbidden h3 in subnav and contaos templates usualy generate valid output.
BTW You do not need the sibling selector, use
Code:
#footersitemap ul > li
or
Code:
#footersitemap li
#footersitemap li li
Re: Sitemap not adding sibling class to LI element on one pa
Thanks for the reply.
I ended up using
Code:
#footersitemap ul.level_1 > li
to get the desired effect. Without the .level_1 is was doing weird things with the next level ULs
Re: Sitemap not adding sibling class to LI element on one pa
Yes you're right. It has to be #footersitemap > ul > li else it would be the same as #footersitemap li. Or your variant.