Adjusting component visibility in responsive authoring
When creating pages with responsive authoring for different form factors, learn how to show or hide components by completing steps to hide an image at mobile size.
Avant de commencer
Role required: ui_builder_admin
Pourquoi et quand exécuter cette tâche
A method of increasing page usability is to hide components or show a different component across breakpoints. There are countless ways to use component visibility, but a few examples include:
- Use multiple button components horizontally across the top of a page for desktop and tablet size, but at mobile size, hide the buttons and show the dropdown component.
- Use a smaller button size for mobile size, but check that the buttons are large enough for users to press with a thumb. Consider changing the placement of buttons for mobile as well.
- Use images in desktop and tablet pages, but hide images, especially larger ones, in mobile.
In this procedure, show buttons across the top for the desktop and tablet form factors, but hide the buttons and use the dropdown component for mobile.