Forums

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

Home Forums CSS [Solved] Active class on buttons in WordPress Re: [Solved] Active class on buttons in WordPress

#64785
TheDoc
Member

You don’t need to create new templates for them, and you shouldn’t.

Your page.php should be able to handle this very easily. First with the option at the bottom of blue642’s post. Another option would be to attach the page’s id number to the body tag, thus allowing you to add styles according to that id.