The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS Current Navigational Highlighting Re: Current Navigational Highlighting


The body_class should return classes that belong to specific page/post regardless if you have latest posts or static page selected.

Something is not working or you have configured settings/templates incorrectly.

I’ve tested with clean install of WordPress along with blank themes from [HTML5 Reset]( and [Bones](

You can try using [conditional statement]( `is_front_page()` to check if user is on Front Page then just output corresponding classed to the body. But this should not be necessary, `body_class()` should take care of this…