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

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

    XporterXMLWordPrintable

    Details

    • Type: Bug
    • Status: Validated
    • Priority: Should have
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
      None
    • Story Points:
      5
    • Section:
      Styling/Theme
    • P4 site:
      All sites
    • Track:
      Development
    • Repositories:
      planet4-master-theme

      Description

      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 (https://k8s.p4.greenpeace.org/international/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.

      Tasks

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

        Gliffy Diagrams

          Attachments

            Issue Links

              Activity

                People

                Assignee:
                Unassigned
                Reporter:
                pvincent Pieter Vincent
                Votes:
                0 Vote for this issue
                Watchers:
                0 Start watching this issue

                  Dates

                  Created:
                  Updated: