Dear Toolset Support,
how can I display a view with a related headline in front of it only in case it has at least one content?
Thank you,
Lars

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Hello. Thank you for contacting the Toolset support.
Can you please share the screeonshot of your view edit page that should help me to understand how you configured your view and where you are trying to display the heading title?
Hi Minesh,
this is the page I set up so far:
hidden link
The contact cards and the header "Kontakte" are placed in a Kadence element.
I tried to put them in a conditional, but don't know, which parameters to set to show the whole element only in case it has some content in the view block.
Another issue is, that some of the toolset css defs are not executed from within the Kadence element: e.g. the grid of the tb-grid class works fine if a place the view in a page, but it breaks apart when a place it inside the Kadence element. (As a workaround I copied the css and assigned it to a custom css class. It's strange, anyway.)
Thanks for your support. Please let me know, if you need further informations.
Best, Lars

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
What you should do is, try to add a conditional block and configure it to check with view's shotcodes and further select "number of items found in view" and compare it as shown with the following image:
=> https://nimb.ws/h7n3lj
Then move the conditional block between view's output and view's loop section as shown with the following image:
=> https://nimb.ws/V2m0vy
And add whatever block or text you want to display within the conditional block. I hope this will help.
That worked perfectly well, thank you!
Do you have any idea for the lost toolset css within Kadence elements? Are there any known issues?

Minesh
Supporter
Languages:
English (English )
Timezone:
Asia/Kolkata (GMT+05:30)
Glad to know that it works as expected.
You can find all known issues with the following link, there are few related missing styles when using third-party block plugins:
- https://toolset.com/known-issues/
Please kindly open a new ticket with every new question you may have. This will help other users searching on the forum as well as help us to write correct problem resolution summery.
My issue is resolved now. Thank you!