Forum Discussion

MarekOCLC's avatar
2 years ago

Wrap multiple component in a div with class in Quilt / page xml view

In my page quilt / in Studio > Page > my page > XML view, I would like to put two components in the same div, something like the following:   <quilt layout="two-column.main-side" nestable="false">...
  • djondinium's avatar
    2 years ago

    Try with wrapper!

     

    <quilt layout="two-column.main-side" nestable="false">
      <add to="main-content">
        <component id="theme-lib.tiled-node-navigation" wrapper="my-class"/>
        <component id="custom_content_2" wrapper="my-class"/>
        <component id="theme-lib.community-activity"/>
      </add>
    </quilt>