Viewing 3 replies - 1 through 3 (of 3 total)
  • If your theme uses the body_class() function, at least two custom classes will be automatically applied to the body tag. One for the page template and one for that specific page (based on the page’s id).

    Thread Starter enderoe

    (@enderoe)

    Yes my theme uses the body_class() function. Any thought on what to change?

    You shouldn’lt have to change anything. Try publishing a page with the new template and checking the classes generated on the body tag.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Custom background color for page template’ is closed to new replies.