WebsiteBaker Support (2.8.x) > Droplets & Snippets

Give each block separate classes

<< < (2/2)

marathoner:
No, that is not an error. Here's my logic...I already know that every page will have something in content1 but only some pages will have both content1 and content2.

I only want to use a right and left column (div1 and div2) if there are two content blocks...so I need to test to see if there is anything in content2. If there is no content2 then content1 doesn't need wrapped by div1 (which I use for a right column. This means that content1 only pages will occupy the full width and that pages with content2 will use a right and left column. Make sense?

spida:
Hi Marathoner,

your explanation makes perfectly sense. Thank you!

Regards,
spida

Navigation

[0] Message Index

[*] Previous page

Go to full version