Title: Static generated files does not include standard WP css class
Last modified: May 10, 2023

---

# Static generated files does not include standard WP css class

 *  Resolved [Tejas Hapani](https://wordpress.org/support/users/tejashapani-1/)
 * (@tejashapani-1)
 * [3 years, 1 month ago](https://wordpress.org/support/topic/static-generated-files-does-not-include-standard-wp-css-class/)
 * Hello,
 * The plugin is just awesome.
 * But i found some issues when we generate static html.
 * With standard WP pages, it is adding some css class based on pages/posts.
   Based
   on those class, we have set css style for site.Like:class=”post-template-default
   single single-post wide” class=”archive category category-71 group-blog wide”
   class=”page-template-default page page-id-134 group-blog wide”
 * However when we generate static html, those classes are not included within body
   tag which is affecting site layout.
 * Is there any workaround to overcome this issue?
 * Thanks
   Tejas

Viewing 4 replies - 1 through 4 (of 4 total)

 *  Thread Starter [Tejas Hapani](https://wordpress.org/support/users/tejashapani-1/)
 * (@tejashapani-1)
 * [3 years ago](https://wordpress.org/support/topic/static-generated-files-does-not-include-standard-wp-css-class/#post-16743761)
 * Hi
 * Is there any solution to this issue?
 *  [jessejones](https://wordpress.org/support/users/jessejones/)
 * (@jessejones)
 * [3 years ago](https://wordpress.org/support/topic/static-generated-files-does-not-include-standard-wp-css-class/#post-16744090)
 * [@tejashapani-1](https://wordpress.org/support/users/tejashapani-1/) Can you 
   provide some information on what theme or theme builder you’re using? Also what
   WP plugins are you using? 
   Some plugins that do things such as: caching, minify,
   etc, are no longer needed and the issue could be from some minification plugins.
   I’ve not experienced the issue you described with this plugin.
 *  Plugin Author [patrickposner](https://wordpress.org/support/users/patrickposner/)
 * (@patrickposner)
 * [3 years ago](https://wordpress.org/support/topic/static-generated-files-does-not-include-standard-wp-css-class/#post-16746158)
 * Hey [@tejashapani-1](https://wordpress.org/support/users/tejashapani-1/),
 * thanks for reaching out!
 * [@jessejones](https://wordpress.org/support/users/jessejones/) already provided
   some pretty good suggestions here.
 * I couldn’t replicate that with the latest four standard themes and a couple of
   sample blocks (I also tried classic editor, to be sure), but all classes are 
   on the static output.
 * So it might have something to do with an optimization plugin.
 * Deactivate your plugins step by step and run an export to troubleshoot that further.
 * Cheers,
 * Patrick
 *  Thread Starter [Tejas Hapani](https://wordpress.org/support/users/tejashapani-1/)
 * (@tejashapani-1)
 * [3 years ago](https://wordpress.org/support/topic/static-generated-files-does-not-include-standard-wp-css-class/#post-16756657)
 * Hi Petrick,
 * I am using accesspress-parallax-pro theme and we don’t use any caching or minify
   plugins.
 * Howevere we are using CloudFlare for security purpose.
   But I also tried with 
   development mode ON to check if that’s related to it. And it did not work.
 * Still it’s not adding correct body tags.
 * Thanks

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Static generated files does not include standard WP css class’ is closed
to new replies.

 * ![](https://ps.w.org/simply-static/assets/icon-256x256.png?rev=2443263)
 * [Simply Static - The Static Site Generator](https://wordpress.org/plugins/simply-static/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simply-static/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simply-static/)
 * [Active Topics](https://wordpress.org/support/plugin/simply-static/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simply-static/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simply-static/reviews/)

 * 4 replies
 * 3 participants
 * Last reply from: [Tejas Hapani](https://wordpress.org/support/users/tejashapani-1/)
 * Last activity: [3 years ago](https://wordpress.org/support/topic/static-generated-files-does-not-include-standard-wp-css-class/#post-16756657)
 * Status: resolved