Skip to main content
Solved

show hide setup

  • February 17, 2023
  • 3 replies
  • 230 views

sachin16
Active Contributor IV
Forum|alt.badge.img+8

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

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

View original
Did this topic or the replies in the thread help you find an answer to your question?

3 replies

Ashley I.
Partner - Platinum
Forum|alt.badge.img+39
  • 2025 Champion
  • 242 replies
  • Answer
  • 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


sachin16
Active Contributor IV
Forum|alt.badge.img+8
  • Author
  • Active Contributor IV
  • 25 replies
  • February 18, 2023

Thank you so much Ashley 


Ashley I.
Partner - Platinum
Forum|alt.badge.img+39
  • 2025 Champion
  • 242 replies
  • February 20, 2023

You’re very welcome - happy to help!