I want to be able to put a css-styled box around my products, BUT the products also contain extra fragments of information
example
product 1
frag 1
frag 2
product 2
product 3
frag 3
frag 4
frag 5
and so on.
using html code - we would normally put a <div class="mybox">product 1 . . .</div> etc around the products to create the styled box.
can we use the layout-list functionality to automatically add the <div class="mybox"> before the 1st product - then a </div><div class="mybox"> before each of the intermediate products and finally a </div> after the entire list
assuming this,
what happens to the fragments and does the last </div> appear after the product 3 or after the frag 5
I hope this makes sense
example
product 1
frag 1
frag 2
product 2
product 3
frag 3
frag 4
frag 5
and so on.
using html code - we would normally put a <div class="mybox">product 1 . . .</div> etc around the products to create the styled box.
can we use the layout-list functionality to automatically add the <div class="mybox"> before the 1st product - then a </div><div class="mybox"> before each of the intermediate products and finally a </div> after the entire list
assuming this,
what happens to the fragments and does the last </div> appear after the product 3 or after the frag 5
I hope this makes sense
Comment