Tell us what you are trying to do?
Have a content template with conditional fields in it. Sometimes, I'd like to show information with a red border around it, while at other times, I'd like to show the same info without the red border. I know one way to do this is to create duplicate blocks showing the same info, give one of the blocks a red border, and then make both blocks conditional. However, that would force me to create many new blocks in the template, and I'm concerned it would be too convoluted and make the page too heavy.
Is there a way to make a container block conditional without the fields inside the block having the same conditions? Or is there a way to overlay blocks, rather than nestling them inside each other?
Is there any documentation that you are following?
I can't find any.
Is there a similar example that we can see?
No.
What is the link to your site?
newspasta.com
Hello,
There isn't such kind of built-in feature within Toolset container block, you might consider custom codes, for example:
1) Within the container block, display a shortcode block
2) In above shortcode block, use [wpv-conditional] shortcodes to check the custom fields/taxonomies values, and outputs a custom JS codes
https://toolset.com/documentation/user-guides/views-shortcodes/#wpv-conditional
3) In the JS codes, add a custom CSS class name to the container block HTML div tag,
hidden link
And setup custom CSS codes to add the red border:
hidden link