Responsive Visibility Block
The responsive visibility bundle will give you the ability to control a page's content based on the device your visitors are using to view the page. When placing blocks on a page, the best region to place them in for desktop displays and mobile displays is not always the same. For instance, having a lead generation form at the top of the sidebar is great for a desktop display, but ends up at the bottom of the page on a mobile display.
A Responsive Visibility Block references existing blocks on your site, but is configured for each display. You may need multiple Responsive Visibility Blocks, each referencing the same existing block, to achieve your desired display. For instance, to display a text block in the sidebar on Desktop and Tablet, but at the top of the main content on Mobile, it will require two Responsive Visibility Blocks. You must create the blocks you want to reference first before creating the different Responsive Visibility Blocks.
Note: Request the Responsive Visibility Block bundle before you start the tutorial. Since the Responsive Visibility Block bundle is part of the Request bundles group, when you request this bundle, our team will work with you to ensure the your site will be optimized by the features of the bundle.
Create Responsive Visibility Block
- Navigate to the page you'd like to update.
- Click the Edit Layout tab.
- In the region you would like to customize, select Add new block and from the drop-down, select Responsive Visibility from the list of options.
Configure the First Responsive Visibility Block
- Responsive Visibility Label: a name used to uniquely identify the block.
- Responsive Visibility Title (optional): this displays above the Responsive Visibility block when placed on a page.
- Block: fill in the block field by entering the title of the block that you wish to create custom visibilty for. Add other blocks as desired.
- Visibility Settings: select Visible or Hidden for each display option. (Mobile, Tablet and Desktop)
Note: Typically you may configure Desktop and Tablet views to be visible and mobile view to be hidden; then create the opposite configuration in your second visibility block.
- Click Create block.
- Click Save.
Configure the Second Responsive Visibility Block
In the second Responsive Visibility block, create the opposite configuration from the first block (created in Step 2).
- Click the 'Edit Layout' tab
- In the region you would like to customize with the second Responsive Visibilty block, select Add a new block from the dropdown and select Responsive Visibilty from the list of options.Label: a name used to uniquely identify the block.
- Title (optional): this displays above the Responsive Visibility block when placed on a page.
- Block: fill in the block field by entering the title of the block that you wish to create custom visibilty for. Add other blocks as desired.
- Visibility Settings: select Visible or Hidden for each display option. (Mobile, Tablet and Desktop)
- Click 'Save'.
Responsive Visibility Video Tutorial