Support » Themes and Templates » Theme missing ids and classes

  • Yesterday I was asked to target the css of one page only on a site. I got a surprise–the body tag did not start like you would expect <body class=”page page-id-302 etc.
    The class was totally missing, so I couldn’t use css and had to use a work around. I know the day will come when I can’t find a work around for this situation or talk someone into changing their theme. Where is the class code usually generated? I’d like to look at it to see how I’d go about adding it into this type of mess.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Theme missing ids and classes’ is closed to new replies.