Support » Plugin: Simply Static » Static generated files does not include standard WP css class

  • Resolved Tejas Hapani

    (@tejashapani-1)


    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

    (@tejashapani-1)

    Hi

    Is there any solution to this issue?

    @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

    (@patrickposner)

    Hey @tejashapani-1,

    thanks for reaching out!

    @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

    (@tejashapani-1)

    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.