Override the default markup and styles of the taxonomy module to match the Drupal 8 CSS architecture guidelines.

CommentFileSizeAuthor
#1 gesso-taxonomy-2452095-1.patch6.19 KBdcmouyard

Comments

dcmouyard’s picture

Status: Active » Needs review
StatusFileSize
new6.19 KB

This patch removes Drupal core’s taxonomy.css and changes the markup from this:

<div class="term-listing-heading">
  <div id="taxonomy-term-1" class="taxonomy-term vocabulary-tags">
    <div class="content">
      <div class="taxonomy-term-description">
        <p>This is the description for this example taxonomy term.</p>
      </div>  
    </div>
  </div>
</div>

To this:

<article class="taxonomy-term taxonomy-term--tags taxonomy-term--full" role="article">
  <div class="taxonomy-term__content">
    <p>This is the description for this example taxonomy term.</p>
  </div>
</article>

  • dcmouyard committed ed7a0b4 on 7.x-1.x
    Issue #2452095 by dcmouyard: Overrode default markup and styles of...
dcmouyard’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.