Responsive Shopping Experiences with Bootstrap
In this tutorial you will learn how to create responsive Shopping Experiences using Bootstrap CSS classes.
Show/hide elements for viewports
Always hide element: d-none
Show element up to 576px: d-block d-sm-none
Show element up to 768px: d-block d-md-none
Show element up to 992px: d-block d-lg-none
Show element up to 1200px: d-block d-xl-none
Show element from 576px: d-none d-sm-block
Show element from 768px: d-none d-md-block
Show element from 992px: d-none d-lg-block
Show element from 1200px: d-none d-xl-block
Show element from 0px up to 576px: d-block d-sm-none
Show element from 578px up to 768px: d-none d-sm-block d-md-none
Show element from 769px up to 992px: d-none d-md-block d-lg-none
Element anzeigen von 993px up to 1200px: d-none d-lg-block d-xl-noneExample: Hide image element in sidebar on smartphones
Step 1: Edit the Shopping Experience
Step 1.1: Create a block
Step 1.3: Configure element(s) of the block
Example: Creating banners for different viewports
Step 1: Editing Shopping Experience
Step 1.1: Creating a block
Step 1.2: Configuring element(s) of the block
Step 1.3: Creating a block
Step 1.4: Configuring element(s) of the block
Example: Defining spacings for different viewports
Further information
Last updated
Was this helpful?
