Skip Navigation

[Gelöst] How to not show empty if conditions

This support ticket is created vor 3 Jahre, 2 Monate. There's a good chance that you are reading advice that it now obsolete.

Dies ist das technische Support-Forum für Toolset – eine Suite von Plugins zur Entwicklung von WordPress-Websites ohne PHP-Pogrammierung.

Jeder kann in diesem Forum lesen, aber nur Toolset-Kunden können darin Beiträge veröffentlichen. Der Toolset-Support arbeitet 6 Tage pro Woche, 19 Stunden pro Tag.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 2 Antworten, has 2 Stimmen.

Last updated by romanF vor 3 Jahre, 2 Monate.

Assigned support staff: Shane.

Author
Artikel
#1675359
ifcondition.jpg

I have an area below a line to show partner logos. But sometimes there are no partner logos. So I would like to keep this container as small as possible or don't show it at all. Right now the space below the line is too high if no logos are shown.

Is there a way to not show a container if there is no content?

#1675563

Shane
Supporter

Languages: Englisch (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2020-06-24 at 2.50.09 PM.png

Hi Roman,

Thank you for getting in touch.

Perhaps what you can do is to use the Conditional block on the entire section where you are adding the inner conditionals.

This way the entire section won't appear if the conditional block condition isn't met. See Screenshot.

However from what I can you are not using the wordpress backend builder. This seems to be a frontend builder like elementor or WPBakery Pagebuilder.

If that is the case then you will need to find a way to hide their entire block container, which i'm unsure of how to do. In a case like this you will need to contact the support team for the respective page builder plugin.

Thanks,
Shane

#1676609

My issue is resolved now. Thank you!

Das Forum „Toolset Professioneller Support“ ist für neue Themen und Antworten geschlossen.