I have the following template in Header.xsl file:

<xsl:template name="MyList" match="*[@GroupStyle='MyList']" mode="header">
  <div class="row">
      <div class="columns large-4 centered">
      <div class="columns large-4">
          Form Name
      <div class="columns large-4">
          Submitter Name

When I apply it to on Content Query Web Part, it makes no difference on UI.

How to make the CQWP render the desired header row?

1 Answer 1


Templates defined with mode="header" attribute (file Header.xsl) are invoked only when the Grouping is enabled for CQWP (see picture below)

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.