Level 1
Level 2
Sign in to Community
Learn more
Sign in to view all badges
Expand my Community achievements bar.
This conversation has been locked due to inactivity. Please create a new post.
In Sightly is it possible to conditionally show an DIV container whilst keep showing its contents, or would I have to achieve by conditionally setting the data-sly-unwrap attribute or templates?
Output 1:
<div class="container" data-sly-use.grid="..."> <div class="row"> ... </div></div>
Output 2:
<div class="row">...</div>
Solved! Go to Solution.
Got it - data-sly-unwrap="${...}"
data-sly-unwrap
=
"${...}"
View solution in original post
Views
Likes
Replies