Uploaded image for project: 'Planet4'
  1. Planet4
  2. PLANET-5321

Same class (page-template) is used on both body and post content wrapper


    • Icon: Bug Bug
    • Resolution: Merged
    • Icon: Should have Should have
    • 2.69.0

      In our post type templates we put the .page-template class on the div element that is wrapping the post. For some reason the same class can also be on the body element. I couldn't find what is adding the class yet (WordPress, us, sitemap plugin, ... ). An example is the sitemap.

      This already caused an issue (maybe more previously) were a rule was matching unintended things, so maybe we should change the name of either the body or the post content wrapper class.


      • Investigate if it's feasible to remove the class from one of the two places
      • Adjust css if needed after removing the class

      Copied on Github

            nroussos Nikos Roussos
            pvincent Pieter Vincent
            Florent Hernandez Florent Hernandez
            0 Vote for this issue
            0 Start watching this issue