Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Martin 278 posts 661 karma points
    Nov 06, 2017 @ 09:20
    Martin
    0

    Grid Layout - Move class to parent/another div

    Hi All,

    I'm looking to apply or move a css class to a div in between the umbraco grid classes. I want to move the class "class-added-through-grid" to another div " new-grid-class".

    <div class="umbraco-row-class">
      <div class="grid-container">
        <div class="grid-x new-grid-class">
          <div class="cell medium-12">
            <div class="umbraco-column-class class-added-through-grid"></div>
          </div>
        </div>
      </div>
    </div>
    

    Is there a way I can query the json for a class or data atttribute in the grid partial?

    Thanks

    Martin

Please Sign in or register to post replies

Write your reply to:

Draft