[HideElement 6 in #o63b9a0d7269d] [HideColumn 2 in #o63b9a0d7269d] [IfAnchor #show.mobile] [ShowElement 6 in #o63b9a0d7269d] [HideElement 5 in #o63b9a0d7269d] [ShowColumn 2 in #o63b9a0d7269d] [/IfAnchor] [IfAnchor #hide.mobile] [ShowElement 5 in #o63b9a0d7269d] [HideElement 6 in #o63b9a0d7269d] [HideColumn 2 in #o63b9a0d7269d] [/IfAnchor]
settings

Try it free

settings
Try it free
How To Hide And Show Blocks On Ontraport
Hide Block / Show Block

This shortcode will show or hide a block or a series of blocks on an Ontraport Page. This can be useful to display different blocks on desktop and mobile.

You can use this shortcode for design purposes or to create features like slides, menus, etc.

I'm using this code to create interactive slides so when the user clicks on the buttons the slides change.

[ HideBlock #o48583525e56f] 

[ HideBlock #o6a251c1963b9] 

[ IfAnchor #slide.1]

[ ShowBlock #o890fa09c326a] 

[ HideBlock #o48583525e56f] 

[ HideBlock #o6a251c1963b9]

[ /IfAnchor]

[ IfAnchor #slide.2]

[ HideBlock #o890fa09c326a] 

[ ShowBlock #o48583525e56f] 

[ HideBlock #o6a251c1963b9]

[ /IfAnchor]

[ IfAnchor #slide.3]

[ HideBlock #o890fa09c326a] 

[ HideBlock #o48583525e56f] 

[ ShowBlock #o6a251c1963b9]

[ /IfAnchor]

NOTE: All shortcodes you see on this page have a space after the opening bracket "[" so you can see them. In order for them to work on your page you'll need to remove the space between the opening bracket "[" and the first letter of the shortcode command.

JOIN THE ONTRAPORT EXPERTS

or
chevron_right
Consult an expert

Grab your FREE FOR LIFE account to try the shortcode system today. Immediate access. No credit card required.

CLICKFIX
PRODUCT
DISCOVER
© [TheYear] ClickFix.io | Terms of Service | Privacy Policy
[bot_catcher]