Skip to main content
sachin16
Active Contributor IV
Active Contributor IV
February 17, 2023
Solved

show hide setup

  • February 17, 2023
  • 3 replies
  • 318 views

How to set show hide code in different type of content blocks. Could you please let me know?

This topic has been closed for replies.
Best answer by Ashley I.

Hi @sachin16 ,

Thank you for the excellent question about dynamic content blocks! 

Whether you are using the Classic Editor or the New Editor for your email templates, Klaviyo makes it easy to show and hide dynamic content to your subscribers.
 

You can read more about How to show or hide template blocks and sections based on dynamic variables (new editor) in this Help Center article, or if you are using the Classic Editor there is additional documentation provided here: How to show or hide template blocks based on dynamic variables (classic editor)

Essentially, the logic is the same for both:

  1. Create a campaign or flow message
  2. Add an image/text block
  3. Click Display Options from the image block’s customization menu
  4. Click Create Logic
  5. Add this conditions for how you want that block to be shown or hidden
  6. Click Save Changes 
  7. Click Done on the block 

--

 

Hope this helps!

-- Ashley Ismailovski

3 replies

Ashley I.
Partner - Platinum
Ashley I.Answer
2025 Champion
February 17, 2023

Hi @sachin16 ,

Thank you for the excellent question about dynamic content blocks! 

Whether you are using the Classic Editor or the New Editor for your email templates, Klaviyo makes it easy to show and hide dynamic content to your subscribers.
 

You can read more about How to show or hide template blocks and sections based on dynamic variables (new editor) in this Help Center article, or if you are using the Classic Editor there is additional documentation provided here: How to show or hide template blocks based on dynamic variables (classic editor)

Essentially, the logic is the same for both:

  1. Create a campaign or flow message
  2. Add an image/text block
  3. Click Display Options from the image block’s customization menu
  4. Click Create Logic
  5. Add this conditions for how you want that block to be shown or hidden
  6. Click Save Changes 
  7. Click Done on the block 

--

 

Hope this helps!

-- Ashley Ismailovski

Ashley Ismailovski, Klaviyo Champion & Director of Email Marketing at SmartSites https://www.smartsites.com/
sachin16
Active Contributor IV
sachin16Author
Active Contributor IV
February 18, 2023

Thank you so much Ashley 

Ashley I.
Partner - Platinum
2025 Champion
February 20, 2023

You’re very welcome - happy to help! 

Ashley Ismailovski, Klaviyo Champion & Director of Email Marketing at SmartSites https://www.smartsites.com/