Title: default css class
Last modified: August 21, 2016

---

# default css class

 *  [niosus](https://wordpress.org/support/users/niosus/)
 * (@niosus)
 * [12 years, 10 months ago](https://wordpress.org/support/topic/default-css-class/)
 * Hey,
 * The plugin is working perfectly, but I do have one feature request. Right now
   a css class gets added when using a custom post template, but nothing gets added
   when the default template is used. This makes it very hard to target ONLY the
   default template in css without completely changing all the classes on the page.
 * Maybe add a “post-template-single-php” class on default posts? It should only
   take 1 extra line in the body_class function (line 85) in custom-post-templates.
   php .
 * Thanks for this great plugin!
 * [http://wordpress.org/plugins/custom-post-template/](http://wordpress.org/plugins/custom-post-template/)

The topic ‘default css class’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/custom-post-template.svg)
 * [Custom Post Template](https://wordpress.org/plugins/custom-post-template/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/custom-post-template/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/custom-post-template/)
 * [Active Topics](https://wordpress.org/support/plugin/custom-post-template/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/custom-post-template/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/custom-post-template/reviews/)

 * 0 replies
 * 1 participant
 * Last reply from: [niosus](https://wordpress.org/support/users/niosus/)
 * Last activity: [12 years, 10 months ago](https://wordpress.org/support/topic/default-css-class/)
 * Status: not resolved