All pages
Powered by GitBook
1 of 23

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Loading...

Mark CMS blocks as favourites to find them faster

From Shopware 6.4.19.0 onwards you can mark CMS blocks as favourites.

Simply click on the heart symbol . Filter in the dropdown menu by favourites to quickly find the blocks you often use.

Mark CMS blocks as favourites
Ffavourite CMS blocks

ThemeWare® CMS styling for Shopping Experiences

In this tutorial you will learn everything about ThemeWare® CMS styling.

For maximum flexibility and compatibility, the "ThemeWare® CMS styling" is based on CMS blocks and can be activated/deactivated for different page types in the "Shopping Experiences" tab.

The "ThemeWare® CMS styling" will only be applied in Shopping Experiences with the size mode "Boxed content".

Tip: Please find application examples in our .

ThemeWare® CMS styling

On CMS pages with active "ThemeWare® CMS styling", CMS blocks get a basic configuration. This currently consists of a border colour (or border-color), a background colour (or background-color), and an outer distance to the bottom.

These colours are also configurable via the tab "Shopping Experience" and are applied to all pages with active "ThemeWare® CMS styling".

Individual customization with CSS classes

Since the "ThemeWare® CMS styling" is practically the same for all CMS blocks, there are new CSS classes in addition to the global styling to specifically "reset" desired blocks. This allows you to remove or reset the complete "ThemeWare® CMS styling" for a CMS block or each the border colour (or border-color), the background colour (or background-color) or the outer distance.

Conversely, there are of course also cases where CMS blocks should still be styled appropriately on pages without "ThemeWare® CMS styling". We have also thought of this: Using additional new CSS classes, the "ThemeWare® CMS styling" can be added manually to any desired CMS block. This allows to apply the whole "ThemeWare® CMS styling" or each for the border colour (or border-color), the background colour (or background-color) or the outer distance on a CMS block.

CSS classes

Class
Block/Section
Description

Starting from ThemeWare® 0.3.1, there are two layout variants for the sidebar section. Please find the corresponding configuration in the tab "Shopping Experiences".

  • Variant 1

    • The sidebar section and the content section will be combined (as usual) to one container with "ThemeWare® CMS styling".

  • Variant 2

Tip: You will find the configuration "Combine sidebar sections (CMS Pages)" in the Tab "Shopping Experiences" => Block "ThemeWare® CMS styling" => Section "Basic configuration".

Examples


The CMS styling adds a border, a background colour and the margin at the bottom to the respective CMS block – as explained above.

Shopware has removed !important instructions from Bootstrap utility classes with version 6.6.0 (see ). As a result, some CSS classes available in Bootstrap are now overwritten by the CMS styling due to the corresponding CSS hierarchy.

For example, the following CSS classes and their variants are affected:

If you want to use these Bootstrap CSS classes for the border, the background or the margin-bottom, please remove the CMS styling for the corresponding CMS block with the CSS class twt-cms-block-reset.

The sidebar section will not be combined or merged with the content section.

twt-cms-block

Block

The relevant CMS block receives predefined styling (border-color, background-color, outer distance to the bottom).

twt-cms-block-margin

Block

ThemeWare® CMS styling
background-color: #ffffff;
border: 1px solid #eeeeee;
border-radius: 2px;
margin-bottom: 20px;
.bg-info
.bg-opacity-10
.border-0
.border-5
.border-success
.border-info-subtle
.border-opacity-50
.mb-4
.rounded-bottom
.rounded-4

Note: Please find all ThemeWare® CSS classes in our article .

Sidebar Shopping Experiences

How to use Bootstrap CSS classes

NEXT-29246
demoshops
Sidebar section and content section combined to one container with "ThemeWare® CMS styling(variant 1)
Sidebar section and content section with "ThemeWare® CMS styling" but not combined (variant 2)
Sidebar section and content section without "ThemeWare® CMS styling".

The corresponding CMS block receives the outside distance to the bottom from the predefined styling.

twt-cms-block-border

Block

The corresponding CMS block receives the border-color from the predefined styling.

twt-cms-block-background

Block

The corresponding CMS block receives the background-color from the predefined styling.

twt-cms-block-reset

Block

The predefined styling will not be applied to the corresponding CMS block (border-color, background-color, outside distance to the bottom).

twt-cms-block-reset-margin

Block

The outer distance downwards of the predefined styling will be removed in the corresponding CMS block.

twt-cms-block-reset-border

Block

The border-color of the predefined styling will be removed in the corresponding CMS block.

twt-cms-block-reset-background

Block

The background-color of the predefined styling will be removed in the corresponding CMS block.

twt-cms-reset-padding

Section

This class removes duplicate paddings in layouts with sidebar.

ThemeWare® CSS classes for Shopping Experiences

Shopping Experiences

Shopping Experiences are a core feature of Shopware 6 and replace the Shopping Worlds from Shopware 5. With Shopping Experiences you can create and design content pages like landing pages, shop pages, category pages and product pages.

In this section you will find many useful tutorials about Shopping Experiences.


Further information

You can find more basics and information about the Shopping Experiences here:

Shopping Experiences

Styling a CMS element individually

You can style a specific CMS element individually by assigning it a custom CSS class in the element settings and defining the desired styles in your stylesheet or theme configuration.

Additionally, you can use the automatically generated element ID – especially for CMS elements where assigning a custom CSS class is not possible.


Adding a CSS class to a ThemeWare® CMS element

  1. Click on the corresponding CMS block to activate the "edit mode"

  2. Hover the mouse over the desired CMS element (1)

  3. Click on the "gear" icon (2) to configure the CMS element

  4. The "Element Settings" pop-up will open

  5. Switch to the "Advanced" tab (3)

  6. Enter your own CSS class in the "CSS classes (Element)" configuration field (4)

    • Tip: Separate multiple classes with a space.

  7. Save your changes


Shopware automatically creates a unique element ID for each CMS element. You can use this to style the element individually using CSS - especially if no separate CSS class can be assigned.

You can find this element ID in the HTML code of the storefront. It is stored in the data-cms-element-id attribute of the corresponding container:

To target this element via CSS, use an attribute selector like this:


You can find more information on how to add CSS styles in the following instructions:

Element-ID

Note: For ThemeWare® CMS elements, you can also find the automatically generated element ID directly in the element’s configuration under the "Advanced" tab. This allows you to avoid manually inspecting the HTML markup in the storefront.

Further information

Individual customizations by means of CSS
<div class="col-12" data-cms-element-id="019762d3f5ac74cd97043411f86aec36">
    <div class="cms-element-twt-modern-teaser element ...">
    ...
[data-cms-element-id="019762d3f5ac74cd97043411f86aec36"] {
    /* Custom styles here */
}

Responsive Shopping Experiences with Bootstrap

In this tutorial you will learn how to create responsive Shopping Experiences using Bootstrap CSS classes.

The Shopware 6 storefront is based on the Bootstrap framework. Due to our HC-Architecture® ThemeWare® as well is completely compatible with Bootstrap.

In the following we will introduce the corresponding CSS classes and show you a few application examples.

Show/hide elements for viewports

To show or hide Shopping Experience blocks in specific viewports, the following Bootstrap Display CSS classes can be used. This allows, for example, to optimize image elements for different viewports.

Tip: With Shopware 6.4.19.0 you can easily set the visibility of sections and blocks in the Shopping Experience editor: see

Overview of Bootstrap display CSS classes:

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-none

You can add these CSS classes in the Shopping Experiences editor via the "CSS classes" field in the block settings or section settings.

Note: These CSS classes just make sections and blocks invisible, the corresponding HTML code is still present in the storefront.

Example: Hide image element in sidebar on smartphones

In this passage, we integrate an image element into the sidebar, which draws attention to a discount. In the smartphone viewport, the image would take too much space, so we hide it for this viewport.

Tip: Please find an example for a "10% discount" element in the sidebar in our .

Step 1: Edit the Shopping Experience

  • Switch via the main navigation to the item "Content" => "Shopping Experiences".

  • Select the landing page of the corresponding category with sidebar or create and edit the Shopping Experience.

  • Select "Images" as the block category and insert the block named "Image, boxed" to the sidebar using drag and drop.

  • Now click onto the block you just added, so that the block settings will open on the right . Do the following settings here:

    • Block name: Banner

Now configure the element in this block.

  • Image: Choose the desired motif with a width of about 400px.

  • Display mode: Stretch

Tip: With the CSS classes d-none d-lg-block you can also hide the sidebar navigation for mobile viewports.

In this section we create two variants of a banner each with different image sizes for two different viewports.

  • Switch via the main navigation to the section "Contents" => "Shopping Experiences".

  • Select the landing page of the appropriate category with sidebar or create and edit the Shopping Experience.

  • Select "Images" as the block category and insert the block named "Image, boxed" to add it to the Shopping Experience by using drag and drop.

  • Now click on the block you just added and the block settings will open on the right. Do the following settings here:

    • Block name: Banner

Now configure the element in this block.

  • Image: Select the desired motif with a width of about 1920px.

  • Display mode: Standard

  • Select "Images" as the block category and insert the block named "Image, boxed" it into the experience using drag and drop.

  • Now click on the block you just added, and the block settings will open on the right. Do the following settings here:

  • Block name: Banner Mobil

Now configure the element in this block.

  • Image: Select the desired motif with a width of about 580px.

  • Display mode: Strech

Tip: You may also add a third image element for the tablet viewport.

With spacing classes you are able to define spacings of Shopping Experience elements per viewport. In the following we will show you an example of use:

This part will follow...

CSS classes for full-width sections

As the CSS class container is not the perfect solution in every scenario, ThemeWare® 1.1.3 includes new CSS classes for "boxed" CMS blocks and CMS sections in Shopping Experiences.

CSS classes

Class
Block/Section
Description

CSS classes: d-none d-lg-block

CSS classes: d-none d-sm-block

CSS classes: d-block d-sm-none

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

Important: Please note that images can significantly affect the page speed and compress them as much as possible with online tools such as TinyPNG.

Example: Defining spacings for different viewports

Further information

Note: Further information about the structure of the CSS classes themselves you will find in the article Optimizing Shopping Experiences with Bootstrap CSS classes.

Responsive Shopping Experiences
demoshop

Section

Sets a section to the maximum container width of the theme configuration.

twt-cms-block-boxed

Block

will follow soon...

Examples

"Full with" section with centred CMS blocks
"Full with" section with a specific, centred CMS block

As of ThemeWare® 2.1.3 there are additional "Full-width" CSS classes: for CMS sections and blocks.

The classes are available to you if you activate the following theme configuration:

Tab "Others" => Block "Advanced settings" => Section "Additional CSS classes" => Load CSS "max-width" classes (optional)

CSS classes

Klasse
Bereich
Funktionsbeschreibung

twt-cms-max-width

Section, Block

Sets the maximum width to the "maximum container width" of the theme configuration.

twt-cms-max-width-500

Left: "Full width" section | Right: "Full width" section with a boxed CMS block

twt-cms-boxed-content

Full-width CSS classes

Mark CMS elements as favourites to find them faster

From Shopware 6.4.19.0 onwards you can mark CMS elements as favourites.

Simply click on the heart symbol . You will now find your favourites at the top of the "Replace element" overlay.

Section, Block

Sets the maximum width to 500px.

twt-cms-max-width-576

Section, Block

Sets the maximum width to 576px.

twt-cms-max-width-600

Section, Block

Sets the maximum width to 600px.

twt-cms-max-width-700

Section, Block

Sets the maximum width to 700px.

twt-cms-max-width-768

Section, Block

Sets the maximum width to 768px.

twt-cms-max-width-800

Section, Block

Sets the maximum width to 800px.

twt-cms-max-width-900

Section, Block

Sets the maximum width to 900px.

twt-cms-max-width-992

Section, Block

Sets the maximum width to 992px.

twt-cms-max-width-1000

Section, Block

Sets the maximum width to 1000px.

twt-cms-max-width-1100

Section, Block

Sets the maximum width to 1100px.

twt-cms-max-width-1200

Section, Block

Sets the maximum width to 1200px.

twt-cms-max-width-1300

Section, Block

Sets the maximum width to 1300px.

twt-cms-max-width-1400

Section, Block

Sets the maximum width to 1400px.

twt-cms-max-width-1500

Section, Block

Sets the maximum width to 1500px.

twt-cms-max-width-1600

Section, Block

Sets the maximum width to 1600px.

twt-cms-max-width-1700

Section, Block

Sets the maximum width to 1700px.

twt-cms-max-width-1800

Section, Block

Sets the maximum width to 1800px.

twt-cms-max-width-1920

Section, Block

Sets the maximum width to 1920px.

Mark CMS elements as favourites
Favourite CMS elements

Designing headlines in CMS blocks

In this tutorial you will learn how to design headlines in CMS blocks using ThemeWare® CSS classes.

ThemeWare® provides you with individual CSS classes that allow you to create the headlines for your Shopware 6 themes, as already known from our Shopware 5 themes.

Tip: Please find application examples in our .


ThemeWare® CSS headlines

CSS classes

Class
Block/Section
Description

Example

Responsive Shopping Experiences

With Shopware 6.4.19.0 you can easily set the visibility of sections and blocks in the Shopping Experience editor.

  1. Switch to the Shopping Experiences Management via the main navigation ("Content" => "Shopping Experiences")

  2. Click on the desired Shopping Experience to edit it.

  3. The Shopping Experience now opens in the

Show custom fields in Shopping Experiences

Note: This article is work in progress...

twt-cms-headline-bath

Block

Styles the headline and the following passage in CMS blocks as in the Bath-Theme.

twt-cms-headline-clean

Block

Styles the headline and the following passage in CMS blocks as in the Clean-Theme.

twt-cms-headline-flower

Block

Styles the headline and the following passage in CMS blocks as in the Flower-Theme.

twt-cms-headline-kids

Block

Styles the headline and the following passage in CMS blocks as in the Kids-Theme.

twt-cms-headline-ladieswear

Block

Styles the headline and the following passage in CMS blocks as in the Ladieswear-Theme.

twt-cms-headline-plants

Block

Styles the headline and the following passage in CMS blocks as in the Plants-Theme.

twt-cms-headline-classic

Block

Styles the headline in CMS blocks like in the Shopware 5 Shopping Worlds.

Note: You can activate or deactivate the ThemeWare® "CSS headline classes" as required. You can find the configuration in the Tab "Others" => Block "Advanced settings" => Section "Additional CSS classes".

demoshops
Headline ThemeWare® "Bath"
Shopping Experience editor
  1. Click on the button in the top left corner of the CMS section you want to edit (1)

  2. The section settings open on the right side of the window (2)

  3. Open the section "Visibility" (3)

Section settings
  1. Click on the CMS block you want to edit (1)

  2. The block settings open on the right side of the window (2)

  3. Open the section "Visibility" (3)

Block settings

In the section "Visibility" (3) you can now configure the section or block for three viewports (4).

In the editor, invisible CMS sections or CMS blocks are "collapsed".

  • With a click on the link "Collapse section" or "Expand section" (5) you can collapse/expand an invisible CMS section in order to edit it.

  • With a click on the link "Collapse block" or "Expand block" (5) you can collapse/expand an invisible CMS block in order to edit it.

Invisible CMS section
Invisible CMS block

1. Shopping Experience

2. Section

2. Block

3. Visability

Note: Please note that Shopware just adds a CSS class to the section or block. The element is therefore invisible, the HTML code is still present in the storefront.

Tip: Until Shopware allows more viewports, the Bootstrap CSS classes from ThemeWare® offer you further configuration options for the visibility of CMS sections and CMS blocks: see

Adjusting column spacings in CMS blocks

In this tutorial you will learn how to adjust column spacings in CMS blocks using ThemeWare® CSS classes.

ThemeWare® provides you with a comprehensive selection of CSS classes with which you can modify the column spacing in CMS blocks - i.e. the spacing between two columns.

Tip: Please find application examples in our .

Note: Use the new, more intuitive CSS classes to adjust the gaps in CMS blocks:


ThemeWare® "Column" CMS block

Columns in CMS blocks have a fixed padding of 40px (2x 20px) in Shopware 6. ThemeWare® provides you with various CSS classes to change this spacing.

The ThemeWare® CSS column spacing classes work for ThemeWare® "Column" CMS blocks as well as most standard CMS blocks from Shopware.

CSS classes

Class
Block/Section
Description

In mobile viewports, columns are represented one below the other. They have a fixed defined margin of 0px. ThemeWare® version 2.1 and higher provides you with various CSS classes: you can change this spacing.

The CSS classes work for ThemeWare® "Column" CMS blocks as well as most standard CMS blocks from Shopware.

Class
Block/Section
Description

You can also use the above-mentioned CSS classes for "Column" blocks in "Grid" blocks from ThemeWare®, but we have introduced new, more intuitive CSS classes for these with ThemeWare® 3.2.0 and recommend using these new CSS classes in future.

You can find more information on this in the following article:


With ThemeWare® 3.2 we have added new CSS spacing classes for ThemeWare® "Grid" and "Columns" CMS blocks. These combine the functionality of the two CSS classes twt-cms-col-padding and twt-cms-col-margin mentioned above.

The new CSS "Gap" classes work in "Grids" and in the "Columns" blocks of ThemeWare®.

You can find more information on this in the following article:

Designing Shopping Experiences with Bootstrap HTML code

In this tutorial, you will learn how to design Shopping Experiences with Bootstrap HTML code.

The Shopware 6 Storefront is based on the Bootstrap framework. Due to our HC-Architecture® ThemeWare® of course it is also completely compatible with Bootstrap.

On this page you will find the most common Bootstrap classes which you can apply to CMS blocks in your Shopping Experiences.

In Shopware 6.4, the Storefront uses .

In Shopware 6.5, the Storefront uses .

Please note that the HTML editor of Shopware 6 (e.g. in CMS elements) does not allow all HTML tags in individual HTML code and automatically sanitises the code for security reasons. This does not mean that Shopware or ThemeWare® are not compatible with Bootstrap. Everything you find on this page was implemented with the Shopware HTML editor. Some of the actual Bootstrap code has been modified for this purpose.

You can use Bootstrap in template files according to the Bootstrap documentation. The only restriction here is that Shopware does not provide all elements.

In terms of Shopping Experiences, there are special CMS elements in the Shopware Store that provide alternative HTML editors

and thus offer you more freedom than the HTML editor in Shopware 6.

Coming soon...

Shopware 6.4

Shopware 6.5

Tip: You can find some examples of use in our demo shops on the "Bootstrap examples" pages.

Bootstrap 4
Bootstrap 5

Mobile

0 px bis 767 px

Tablet

768 px bis 991 px

Desktop

ab 992 px

Responsive Shopping Experiences with Bootstrap
Cover
Cover
Cover

Block

Sets the padding-left/-right for columns in CMS blocks to 15 pixels.

-

-

20 pixels is the default column spacing.

twt-cms-col-padding-25

Block

Sets the padding-left/-right for columns in CMS blocks to 25 pixels.

twt-cms-col-padding-30

Block

Sets the padding-left/-right for columns in CMS blocks to 30 pixels.

twt-cms-col-padding-35

Block

Sets the padding-left/-right for columns in CMS blocks to 35 pixels.

twt-cms-col-padding-40

Block

Sets the padding-left/-rightg for columns in CMS blocks to 40 pixels.

Sets the margin-bottom for columns in CMS blocks to 5 pixels.

twt-cms-col-margin-10

Block

Sets the margin-bottom for columns in CMS blocks to 10 pixels.

twt-cms-col-margin-15

Block

Sets the margin-bottom for columns in CMS blocks to 15 pixels.

twt-cms-col-margin-20

Block

Sets the margin-bottom for columns in CMS blocks to 20 pixels.

twt-cms-col-margin-25

Block

Sets the margin-bottom for columns in CMS blocks to 25 pixels.

twt-cms-col-margin-30

Block

Sets the margin-bottom for columns in CMS blocks to 30 pixels.

twt-cms-col-margin-35

Block

Sets the margin-bottom for columns in CMS blocks to 35 pixels.

twt-cms-col-margin-40

Block

Sets the margin-bottom for columns in CMS blocks to 40 pixels.

twt-cms-col-margin-45

Block

Sets the margin-bottom for columns in CMS blocks to 45 pixels.

twt-cms-col-margin-50

Block

Sets the margin-bottom for columns in CMS blocks to 50 pixels.

twt-cms-col-margin-55

Block

Sets the margin-bottom for columns in CMS blocks to 55 pixels.

twt-cms-col-margin-60

Block

Sets the margin-bottom for columns in CMS blocks to 60 pixels.

twt-cms-col-margin-65

Block

Sets the margin-bottom for columns in CMS blocks to 65 pixels.

twt-cms-col-margin-70

Block

Sets the margin-bottom for columns in CMS blocks to 70 pixels.

twt-cms-col-margin-75

Block

Sets the margin-bottom for columns in CMS blocks to 75 pixels.

twt-cms-col-margin-80

Block

Sets the margin-bottom for columns in CMS blocks to 80 pixels.

twt-cms-col-padding-0

Block

Sets the padding-left/-right for columns in CMS blocks to 0 pixels.

twt-cms-col-padding-5

Block

Sets the padding-left/-right for columns in CMS blocks to 5 pixels.

twt-cms-col-padding-10

Block

Sets the padding-left/-right for columns in CMS blocks to 10 pixels.

-

-

0 pixels is the default column margin.

twt-cms-col-margin-5

Note: How to insert the CSS classes please find in the article ThemeWare® CSS classes for Shopping Experiences.

Details

Example

Note: You can activate or deactivate the ThemeWare® "CSS column padding classes" as required. You can find the configuration in the Tab "Others" => Block "Advanced settings" => Section "Additional CSS classes".

Mobile representation

CSS classes

Note: How to insert the CSS classes please find in the article ThemeWare® CSS classes for Shopping Experiences.

Details

Examples

ThemeWare® "Grid" CMS blocks

New CSS classes with ThemeWare® 3.2.0

Adjusting gaps in CMS blocks
Adjusting gaps in CMS blocks
demoshops
Adjusting gaps in CMS blocks
Left: Default column spacing | Right: twt-cms-col-padding-10
Left: default | Right: twt-cms-col-margin-15

twt-cms-col-padding-15

Block

Embellishing images in CMS blocks

In this tutorial you will learn how to embellish images in CMS blocks by using ThemeWare® CSS-Decoration Classes.

ThemeWare® offers various CSS decoration classes for images in CMS blocks. This instruction page will introduce all CSS classes to you.

Right: Decoration class "twt-cms-image-border-semi"

Tip: You can find application examples in our .


ThemeWare® CSS decoration classes for images

Border

Adds a 12px thick border to images in a CMS block.

CSS classes

Class
Block/Section
Description

Example

Adds a drop shadow to images in a CMS block.

CSS classes

Class
Block/Section
Description

Example

Adds a drop shadow to images in a CMS Block.

CSS Classes

Class
Block/Section
Description

Example

Rounds off images in a CMS block.

CSS classes

Class
Block/Section
Description

Example

Embellishing images in CMS blocks with hover effects

In this tutorial you will learn how to embellish images in CMS blocks with hover effects.

With ThemeWare® you receive a wide range of CSS classes enabling you to create various hover effects for images in CMS blocks.

Tip: Application examples you will find in our .


ThemeWare® CSS hover effects for images

Status: Classes on this page have been enhanced with ThemeWare® 0.3.4 und 0.5.0.

CSS classes

Class
Block/Section
Description

Example

Embellishing Shopping Experiences with CSS animations

In this tutorial you will learn how to embellish Shopping Experiences with ThemeWare® CSS scroll animations.

ThemeWare® version 0.3.0 and higher provides you with an extensive selection of CSS animations to embellish your Shopping Experience. In the following we will explain how to activate and use the "CSS scroll animations" in 2 steps only.


  1. Open the administration of your shop

  2. Switch to the Theme Management ("Contents" => "Themes") via the main navigation.) Note: In the Shopware Cloud please find the section "Themes" directly in the main navigation.

twt-cms-image-box-shadow-lg

Block

Adds a noticeable drop shadow to images in a CMS block.

twt-cms-image-box-shadow-level-3

Block

Adds a drop shadow to images in a CMS block.

twt-cms-image-box-shadow-level-4

Block

Adds a drop shadow to images in a CMS block.

twt-cms-image-box-shadow-level-5

Block

Adds a drop shadow to images in a CMS block.

twt-cms-image-border bzw. twt-cms-image-border-solid

Block

Adds a 12px thick border to images in a CMS block.

twt-cms-image-border-semi

Block

Adds a 12px thick, semi-transparent border to images in a CMS block.

twt-cms-image-box-shadow-sm

Block

Adds a subtle drop shadow to images in a CMS block.

twt-cms-image-box-shadow

Block

twt-cms-image-box-shadow-level-1

Block

Adds a drop shadow to images in a CMS block.

twt-cms-image-box-shadow-level-2

Block

twt-cms-image-rounded

Block

Rounds off images in a CMS block.

Note: How to insert the CSS classes you will learn in our article ThemeWare® CSS classes for Shopping Experiences.

Shadow (Bootstrap)

Shadow (ThemeWare®)

Border radius

Note: You can activate or deactivate the ThemeWare® "CSS box shadow classes" and "CSS box shadow classes" as required. You can find the configuration in the Tab "Others" => Block "Advanced settings" => Section "Additional CSS classes".

demoshops

Adds a drop shadow to images in a CMS block.

Adds a drop shadow to images in a CMS block.

Block

Colors gray images with a link (hover effect).

twt-cms-image-hover-5

bzw.

twt-cms-image-hover-grayscale-in

bzw.

twt-cms-image-hover-grayscale

Block

Grays out images with a link (hover effect).

twt-cms-image-hover-6

bzw.

twt-cms-image-hover-shine

Block

A highlight leads over images with a link (hover effect).

twt-cms-image-hover-7

bzw.

twt-cms-image-hover-flash

Block

Flashes images with a link (hover effect).

twt-cms-image-hover-8

bzw.

twt-cms-image-hover-rotate-left

Block

Rotates images with a link (hover effect).

twt-cms-image-hover-9

bzw.

twt-cms-image-hover-rotate-right

Block

Rotates images with a link (hover effect).

twt-cms-image-hover-10

bzw.

twt-cms-image-hover-rotate-out

bzw.

twt-cms-image-hover-rotate

Block

Rotates images with a link (hover effect).

twt-cms-image-hover-11

bzw.

twt-cms-image-hover-blur-in

bzw.

twt-cms-image-hover-blur

Block

Rotates images with a link (hover effect).

twt-cms-image-hover-12

bzw.

twt-cms-image-hover-blur-out

Block

Rotates images with a link (hover effect).

twt-custom-cms-image-hover-1

bzw.

twt-cms-image-hover-opacity

Block

Reduces the opacity for images with a link (hover effect).

twt-custom-cms-image-hover-2

bzw.

twt-cms-image-hover-zoom-in

bzw.

twt-cms-image-hover-zoom

Block

Enlarges images with a link (hover effect).

twt-cms-image-hover-3

bzw.

twt-cms-image-hover-zoom-out

Block

Reduces images with a link (hover effect).

Note: How to insert the CSS classes you will learn in our article ThemeWare® CSS classes for Shopping Experiences.

Note: You can activate or deactivate the ThemeWare® "CSS image hover classes" as required. You can find the configuration in the Tab "Others" => Block "Advanced settings" => Section "Additional CSS classes".

demoshops
Right: Hover effect "twt-cms-image-hover-grayscale"

twt-cms-image-hover-4

bzw.

twt-cms-image-hover-gray-scale

bzw.

twt-cms-image-hover-grayscale-out

Open your theme configuration

  • Switch in the Tab "Shopping Experiences" to the Block "All types"

  • In the Section "CSS Scroll Animations" you will find configuration fields for "CMS blocks" and "Headlines in CMS blocks"

  • Choose the desired animation for CMS blocks or the headlines in CMS blocks (optional).

  • Save this change in order to adopt it into the storefront

    1. Switch via the main navigation to the Shopping Experiences Management ("Contents" => "Shopping Experiences")

    2. Edit the desired Shopping Experience

    3. Select the desired CMS block you wish to animate

    4. Open the section "Layout" in the block settings on the right edge of the screen

    5. Add the CSS class twt-cms-animation (several classes are separated by blanks)

    6. Save the Shopping Experience

    The corresponding CMS block should now be animated with the desired animation. Repeat "Step 2" for all CMS blocks you wish to animate.

    In case the change does not arrive in the storefront, please check whether the theme has been assigned to the appropriate sales channel. When making changes of this kind, be sure to clear the entire Shopware cache and the browser cache.

    Tip: Application examples you will find on the starting pages of our demoshops.

    ThemeWare® CSS scroll animations

    1. Activating animations

    Right: CSS scroll animation "Fade-in"

    2. Applying animations

    Note: Do not use the CSS animation in CMS pages that are displayed in pop-ups or modals. There the animations will not work.

    Note: Do not use CSS animation in CMS blocks that contain pop-ups or modals. Otherwise, the modals may not work.

    ThemeWare® CSS classes for Shopping Experiences

    In this tutorial you will find an overview of the ThemeWare® CSS classes. for Shopping Experiences.

    With ThemeWare® you have access to many additional CSS classes for Shopping Experiences which provides you with even more layout possibilities.

    These CSS classes can be used in the Shopping Experiences (main navigation "Content" => "Shopping Experiences") via the section and block settings:

    Block settings in the Shopping Experience editor

    For the sake of clarity, there are separate articles on some topics. Please find the links in the corresponding paragraph.

    In addition, you will find application examples for all topics in our demoshops.

    Tip: It is possible to combine different effects by applying several classes in one block.

    Note: If you are missing a CSS class, update ThemeWare® to the latest version.



    ThemeWare® CMS styling

    ThemeWare® utilizes a predefined styling for CMS blocks. With this so-called "ThemeWare® CMS styling", all CMS blocks in Shopping Experiences with the size mode "Boxed content" receive a border colour (or border-color), a background colour (or background-color) and an outer distance to the bottom.

    This styling can be configured (from version 0.3.1 on), and you can even activate or deactivate the "ThemeWare® CMS styling" for different page types in the configuration.

    But that's not all: It is also possible to use the "ThemeWare® CMS styling" via CSS classes for certain blocks or to specifically not use it. The following classes are available for this purpose:

    Examples

    Please find more information in our article:


    In addition to the Bootstrap distance classes, ThemeWare® offers you an extended collection of distance classes based on pixel values.

    Our classes are named according to the following pattern:

    Please find more information in our article:


    As the CSS class container is not the perfect solution in every scenario, there are CSS classes: in ThemeWare® you can use them to "box" CMS blocks or CMS sections in your Shopping Experiences.

    Example

    Please find more information in our article:


    ThemeWare® provides you with various CSS decoration classes for images in CMS blocks. With these CSS classes you can decorate images with borders or shadows or round off the images.

    Examples

    Please find more information in our article:


    With ThemeWare® you receive a wide range of CSS classes that allow you to create various hover effects for images in CMS blocks.

    Examples

    Please find more information in our article:


    ThemeWare® offers a wide range of CSS animations for your Shopping Experiences. For this purpose, use the appropriate CSS class on CMS blocks or the desired HTML elements.

    CSS classes

    Class
    Block/Section
    Description

    Please find more information in our article:

    ThemeWare® also provides you with a collection of CSS classes for animations for experienced users.

    Please find more information in our article:

    Article will follow soon...


    ThemeWare® provides you with a wide range of CSS classes with which you can modify the column spacings in CMS blocks.

    Example

    Please find more information in our article:


    With ThemeWare® you receive individual CSS classes to be able to use the headlines known from our Shopware 5 Themes as well in your Shopware 6 Shopping Experiences.

    Example

    Please find more information in our article:


    For the Shopping Experiences of the start pages of our demoshops we partly use individual CSS classes to enable certain layouts. In this section we will introduce these CSS classes.

    CSS clsses

    Class
    Block/Section
    Description

    This overlay banner is possible using the standard CMS elements of Shopware and does not require a special CMS element.

    CSS classes

    Class
    Block/Section
    Description

    Example


    In this section you will find more classes that can be helpful in designing your individual Shopping Experiences.

    CSS classes

    Class
    Block/Section
    Description

    Examples

    Styling a CMS block individually

    You can style a specific CMS block using CSS by assigning a custom CSS class in the block settings and defining the desired styles either in your stylesheet or within your theme configuration.


    Adding a CSS class to a CMS block

    1. Click on the desired CMS block to select the CMS block (1).

    2. Switch to the "Block settings" tab in the sidebar on the right (2).

    3. Open the "Layout" section (3).

    4. Enter your own CSS class in the "CSS classes" configuration (4).

      • Tip: Separate multiple classes with a space.

    5. Save the changes to your Shopping Experience.

    After reloading the storefront, your styling should now be applied to the CMS block.


    You can find more information on how to add CSS styles in the following instructions:

    // Spacing classes:
    twt-{property}{sides}-{size} // for xs
    
    // Extended spacing classes:
    twt-{property}{sides}-{breakpoint}-{size} // for sm, md, lg und xl

    twt-cms-animation

    Block

    Animates a CMS block and HTML elements with an animation selected in the theme configuration as soon as the element is being scrolled into the visible area.

    twt-custom-cms-text-two-column-usp-list

    Block

    Highlights a list of benefits in the right block of a "two column element" with green check marks.

    twt-custom-cms-imagetext-teaser-1

    Section

    twt-custom-cms-element-overlay-primary

    Section

    Overlays the background image of a section with the primary colour (opacity 85%). Optimal for showing text information on a background image.

    twt-custom-cms-element-overlay-secondary

    Section

    container

    Block, Section

    In Shopping Experience sections with the "Full width" layout, it sometimes is useful to place a content block in the "Boxed" layout. You may realize this with the class "container". An example of this is the category banner in the category "Höhenluft & Abenteuer" of our demoshops.

    Spacing classes

    Example

    Full-width sections

    Decoration classes for images

    Hover effects for images

    CSS scroll animations

    Example

    Animations (for experienced users)

    Column spacings in CMS blocks

    Headlines in CMS blocks

    Demoshops

    Start pages of the demoshops (Home)

    Note: You may get a "step-by-step PDF guide" for our Shopping Experiences via the ThemeWare® Utilities free of charges.

    Overlay banner (Mountain air)

    Note: Please find an example in the category "Mountain air & Adventure" in ourdemoshops:

    Miscellaneous

    ThemeWare® CMS styling for Shopping Experiences
    CSS spacing classes for Shopping Experiences
    CSS classes for full-width sections
    Embellishing images in CMS blocks
    Embellishing images in CMS blocks with hover effects
    Embellishing Shopping Experiences with CSS animations
    Adjusting column spacings in CMS blocks
    Designing headlines in CMS blocks
    Left: with ThemeWare® CMS styling | Right: without ThemeWare® CMS styling
    Left: Default spacing | Right: Spacing class "twt-mb-5"
    Left: "Full width" section | Right: "Full width" section with a boxed CMS block
    Right: Decoration class "twt-cms-image-border-semi"
    Right: Hover effect "twt-cms-image-hover-grayscale"
    Right: CSS scroll animation "Fade-in"
    Left: Default column spacing | Right: twt-cms-col-padding-10
    Headlines in CMS blocks
    CSS-Klasse: twt-custom-cms-element-overlay-primary
    Example with "container" class
    Example without "container" class

    Further information

    Individual customizations by means of CSS

    Improved representation and text alignment for a "two column element" (image on the left and text on the right) in the section size mode "Full width". Optimal for displaying a teaser/banner.

    twt-custom-cms-about-photo

    Block

    Improved representation and text alignment for a "two column element" with an image on the left and additional text information on the right. Optimal for presenting a contact person. In addition, the class "dark" can be used in order to display the background of a very dark Shopping Experience in a light colour.

    Overlays the background image of a section with the secondary colour (opacity 85%). Optimal for showing text information on a background image.

    twt-custom-cms-element-overlay-success

    Section

    Overlays the background image of a section with the status colour "Success" (opacity 85%). Optimal for showing text information on a background image.

    twt-custom-cms-element-overlay-info

    Section

    Overlays the background image of a section with the status colour "Information" (opacity 85%). Optimal for showing text information on a background image.

    twt-custom-cms-element-overlay-warning

    Section

    Overlays the background image of a section with the status colour "Notice" (opacity 85%). Optimal for showing text information on a background image.

    twt-custom-cms-element-overlay-danger

    Section

    Overlays the background image of a section with the status colour "Error" (opacity 85%). Optimal for showing text information on a background image.

    twt-custom-cms-element-overlay-light

    Section

    Overlays the background image of a section with the colour white (opacity 85%). Optimal for showing text information on a background image.

    twt-custom-cms-element-overlay-dark

    Section

    Overlays the background image of a section with the colour black (opacity 85%). Optimal for showing text information on a background image.

    Mountain air & Adventure

    Product slider with overflow

    By default, a product slider ends at the edge of its container. Instead, you can have the neighbouring products displayed cropped — so your customers can see at a glance that there is more to discover.

    In these instructions you will learn how to set the overflow globally and how to configure it individually for single CMS blocks.


    Step 1: Choose the layout type

    1. Open the theme configuration of your theme

    2. Go to the tab "Shopping Experiences"

    3. Expand the block "Product slider (Category 'Commerce')"

    4. Select the desired "Layout type" in the section "Design"

    5. Save your changes

    Four layout types are available:

    Layout type
    Effect

    You can further adjust the crop in the section "Basic configuration".

    Cropped products

    Controls whether the cropped neighbouring products are dimmed. Dimmed products are not clickable — as soon as a product is fully visible, it becomes clickable again.

    Crop width

    You define how much of the neighbouring products is visible separately for desktop and mobile devices:

    • "Crop width @Desktop (>=992px)" — default: 30 pixels

    • "Crop width @Mobile (<992px)" — default: 20 pixels


    You do not have to commit to one setting for your entire shop. Using a CSS class on the CMS block, you can display individual product sliders differently.

    1. Open the shopping experience in the CMS editor

    2. Click the CMS block containing the product slider to select it

    3. Go to the tab "Block settings" in the sidebar on the right

    4. Expand the section "Layout" there

    CSS class
    Layout type

    In two cases the overflow is suppressed on purpose, because the neighbouring products would otherwise extend into adjacent content. The peek remains in place:

    • The product slider is placed in a multi-column CMS block — the products would otherwise run into the other column

    • The product slider is placed in a sidebar section

    If you want to see the overflow at this position, place the product slider in a single-column CMS block.


    You can find more information on how to assign a CSS class to a CMS block in the following instructions:

    Enter the desired class in the configuration field "CSS classes"

  • Save the changes to your shopping experience

  • Off (default)

    The products end at the container edge

    Peek

    The neighbouring products are partially visible inside the container

    Overflow

    twt-cms-product-slider-reset

    Off

    twt-cms-product-slider-peek

    Peek

    twt-cms-product-slider-overflow-visible

    Note: The setting applies to all product sliders in your shop, including the cross-selling on your product pages.

    Step 2: Adjust the crop

    Note: Both values only apply to the layout types with peek.

    Step 3: Configure single CMS blocks individually

    Tip: With twt-cms-product-slider-reset you reset the global setting for this single block. This way you can, for example, enable the overflow globally and still switch it off on a particular page.

    If the overflow is not visible

    Further information

    Styling a CMS block individually

    The neighbouring products extend beyond the container

    Peek and overflow

    Both combined

    Overflow

    twt-cms-product-slider

    Peek and overflow

    Designing Shopping Experiences with Bootstrap CSS classes

    In this tutorial, you will learn how to design themes with Bootstrap CSS classes.

    The Shopware 6 storefront is based on the Bootstrap framework. Due to our HC-Architecture® ThemeWare® of course it is also completely compatible with Bootstrap.

    On this page you will find the most common Bootstrap classes which you can apply to CMS blocks in your Shopping Experiences . Without any programming knowledge!

    Note: Shopware has removed !important instructions from Bootstrap utility classes with version 6.6.0 (see ). As a result, these classes no longer overwrite any predefined formatting as before.

    Shopware 6.4

    • In Shopware 6.4, the Storefront uses Bootstrap 4.

    Shopware 6.5

    • In Shopware 6.5, the Storefront uses Bootstrap 5.

    Tip: You can find some examples of use in our demo shops on the "" pages.


    Text alignment

    For aligning texts Bootstrap already provides some CSS classes you can use. Please find more about this .

    CSS classes

    Class v5
    Class v4
    Block/Section
    Description

    Examples


    For colouring texts, Bootstrap already provides some classes for different colours. In the following you will find examples of the available colour variants. Please find more about this .

    CSS classes

    Class
    Block/Section
    Description

    Examples


    The Bootstrap framework also provides you with classes for adding backgrounds to Shopping Experience elements in different colours. For dark backgrounds it is recommended to choose a light text colour (see above). Please find more about this .

    CSS classes

    Class
    Block/Section
    Description

    Examples


    Bootstrap classes can also be used to define the borders of CMS blocks. For example, the class "border-0" removes borders from elements. Please find more about it .

    CSS classes

    Class v5
    Class v4
    Block/Section
    Description

    CSS classes

    Class v5
    Class v4
    Block/Section
    Description

    Examples


    Change the border colour (or border-color) of CMS blocks using the following CSS classes. Please find more about this .

    CSS classes

    Class
    Block/Section
    Description

    Examples


    Add the following CSS classes to a CMS block to easily round off its corners. Please find more about it .

    CSS-Classes

    Class v5
    Class v4
    Block/Section
    Description

    Example


    Adding or removing shadows to CMS blocks. Please find more .

    CSS-Classes

    Class
    Block/Section
    Description

    Examples


    Shopware has removed !important instructions from Bootstrap utility classes with version 6.6.0 (see ). As a result, some CSS classes available in Bootstrap are now overwritten by the CMS styling due to the corresponding CSS hierarchy.

    If you would like to apply Bootstrap CSS classes to CMS blocks, please note that the ThemeWare® CMS styling overrides the border (border, border-radius), the background colour (background-color) and the margin at the bottom (margin-bottom).

    Therefore, remove the CMS styling for the corresponding CMS block with the CSS class twt-cms-block-reset so that the bootstrap classes take effect.


    text-start

    text-left

    Block

    Align text to the left.

    text-primary

    Block

    Output text in primary colour.

    text-secondary

    Block

    bg-primary

    Block

    Display background with primary colour.

    bg-secondary

    Block

    border

    border

    Block

    Add border.

    border-0

    border-0

    Block

    Remove border.

    border-primary

    Block

    Display border with the primary colour.

    border-secondary

    Block

    rounded

    rounded

    Block

    Round off element.

    shadow-sm

    Block

    Small drop shadow.

    shadow

    Block

    Text colour (colour)

    Background colour (background-color)

    Border (additive)

    Note: Please note that the "ThemeWare® CMS-Styling" already represents a framework and additive CSS classes then have no effect. Additive CSS classes are relevant for Shopping Experiences without "ThemeWare® CMS-Styling".

    Border (subtractive)

    Border colour (border-color)

    Border-radius

    Shadow

    Special case: CMS blocks with ThemeWare® CMS styling

    Related links

    here
    here
    here
    here
    here
    here
    here
    NEXT-29246
    NEXT-29246
    Bootstrap examples

    text-center

    text-center

    Block

    Align text centered.

    text-end

    text-right

    Block

    Align text to the right.

    Output text in secondary colour.

    text-success

    Block

    Output text in the colour "Success".

    text-danger

    Block

    Output text in the colour "Error".

    text-warning

    Block

    Output text in the colour "Notice".

    text-info

    Block

    Output text in the colour "Information".

    text-white

    Block

    Output text in the colour "white".

    Display background with secondary colour.

    bg-success

    Block

    Display background with the colour "Success".

    bg-danger

    Block

    Display background with the colour "Error".

    bg-warning

    Block

    Display background with the colour "Notice".

    bg-info

    Block

    Display background with the colour "Information".

    border-top

    border-top

    Block

    Add border on top.

    border-end

    border-right

    Block

    Add border on the right.

    border-bottom

    border-bottom

    Block

    Add border at bottom.

    border-start

    border-left

    Block

    Add border on the left.

    border-top-0

    border-top-0

    Block

    Remove border at top.

    border-end-0

    border-right-0

    Block

    Remove border on the right.

    border-bottom-0

    border-bottom-0

    Block

    Remove border at bottom.

    border-star-0

    border-left-0

    Block

    Remove border on the left.

    Display border with the secondary colour.

    border-success

    Block

    Display border with the colour "Success".

    border-danger

    Block

    Display border with the colour "Error".

    border-warning

    Block

    Display border with the colour "Notice".

    border-info

    Block

    Display border with the colour "Information".

    border-light

    Block

    Display border with the colour "light".

    border-dark

    Block

    Display border with the colour "dark".

    border-white

    Block

    Display border with the colour "white".

    rounded-top

    rounded-top

    Block

    Round off element at top

    rounded-end

    rounded-right

    Block

    Round off element on right.

    rounded-bottom

    rounded-bottom

    Block

    Round off element at bottom.

    rounded-start

    rounded-left

    Block

    Round off element on left.

    rounded-0

    rounded-0

    Block

    Do not round off element.

    Normal drop shadow.

    shadow-lg

    Block

    Large drop shadow.

    Hide CMS blocks on mobile devices

    In Shopware 6, CMS blocks as well as CMS sections can be hidden in various viewports.

    Learn how this works in the following instructions:

    Responsive Shopping Experiences
    Responsive Shopping Experiences with Bootstrap
    Invisible CMS block

    CSS spacing classes for Shopping Experiences

    In addition to the Bootstrap distance classes, ThemeWare® offers you an extended collection of distance classes based on pixel values.

    Our classes are named according to the following pattern:

    // Spacing classes:
    twt-{property}{sides}-{size} // for xs
    
    // Extended spacing classes:
    twt-{property}{sides}-{breakpoint}-{size} // for sm, md, lg und xl

    Example

    Left: Default spacing | Right: Spacing class "twt-mb-5"

    Bootstrap 4 vs. Bootstrap 5

    When updating from Bootstrap 4 to Bootstrap 5 (as of Shopware 6.5), some classes were renamed to use logical property names instead of direction names.

    Starting with Shopware 6.5, you have the option in ThemeWare® to choose whether you want to use the old Bootstrap 4 or the new Bootstrap 5 notation:

    • Tab "More" => Block "Advanced settings" => Section "Additional CSS classes" => Field "Load CSS spacing classes (optional)"

      • (default)

    If you are using the old writing and don't want to change it everywhere, just load the CSS spacing classes for Bootstrap 4. New ThemeWare® installations automatically load the Bootstrap 5 spacing classes.

    Below you will find the syntax for both variants:


    CSS classes

    Structure
    Description

    Examples


    CSS classes

    Structure
    Description

    Examples

    twt

    ThemeWare® Prefix

    -

    Separator

    m

    // Spacing classes:
    twt-p-3       // padding: 30px
    twt-px-4      // padding: 0 40px
    twt-ms-1      // margin-left: 10px
    twt-me-2      // margin-right: 20px
    twt-mt-n3     // margin-top: -30px
    
    // Extended spacing classes:
    twt-m-md-4    // margin: 40px (from 768px)
    twt-mt-md-n2  // margin-top: -20px (from 768px)

    twt

    ThemeWare® Prefix

    -

    Separator

    m

    // Spacing classes:
    twt-p-3       // padding: 30px
    twt-px-4      // padding: 0 40px
    twt-ml-1      // margin-left: 10px
    twt-mr-2      // margin-right: 20px
    twt-mt-n3     // margin-top: -30px
    
    // Extended spacing classes:
    twt-m-md-4    // margin: 40px (from 768px)
    twt-mt-md-n2  // margin-top: -20px (from 768px)

    Bootstrap 5 (Shopware 6.5)

    Bootstrap 4 (Shopware 6.4)

    Note: You can activate or deactivate the ThemeWare® "CSS spacing classes" as required. You can find the configuration in the Tab "Others" => Block "Advanced settings" => Section "Additional CSS classes".

    Bootstrap 4
    Bootstrap 5

    Eigenschaft:

    • m => Margin (Außenabstand)

    • p => Padding (Innenabstand)

    t

    Seiten:

    • t => Top (oben)

    • e => End (rechts)

    • b => Bottom (unten)

    • s => Start (links)

    • x => Left/Right (links und rechts)

    • y => Top/Bottom (oben und unten)

    • Keine Angabe => für alle vier Seiten

    -

    Separator

    md

    Breakpoint: (optional) [ab ThemeWare® 0.2.8]

    • sm => ab 576px

    • md => ab 768px

    • lg => ab 992px

    • xl => ab 1200px

    • Keine Angabe => ab 0px

    -

    Separator

    n

    Negativer Wert (nur Margin): (optional)

    • n => Wert wird negativ verwendet (-x Pixel)

    • Keine Angabe => wird positiv verwendet

    2

    Größe:

    • 0 => 0 Pixel

    • 1 => 10 Pixel

    • 2 => 20 Pixel

    • 3 => 30 Pixel

    • 4 => 40 Pixel

    • 5 => 50 Pixel

    • 6 => 60 Pixel

    • 7 => 70 Pixel

    • 8 => 80 Pixel

    • 9 => 90 Pixel

    • auto

    Eigenschaft:

    • m => Margin (Außenabstand)

    • p => Padding (Innenabstand)

    t

    Seiten:

    • t => Top (oben)

    • r => Right (rechts)

    • b => Bottom (unten)

    • l => Left (links)

    • x => Left/Right (links und rechts)

    • y => Top/Bottom (oben und unten)

    • Keine Angabe => für alle vier Seiten

    -

    Separator

    md

    Breakpoint: (optional) [ab ThemeWare® 0.2.8]

    • sm => ab 576px

    • md => ab 768px

    • lg => ab 992px

    • xl => ab 1200px

    • Keine Angabe => ab 0px

    -

    Separator

    n

    Negativer Wert (nur Margin): (optional)

    • n => Wert wird negativ verwendet (-x Pixel)

    • Keine Angabe => wird positiv verwendet

    2

    Größe:

    • 0 => 0 Pixel

    • 1 => 10 Pixel

    • 2 => 20 Pixel

    • 3 => 30 Pixel

    • 4 => 40 Pixel

    • 5 => 50 Pixel

    • 6 => 60 Pixel

    • 7 => 70 Pixel

    • 8 => 80 Pixel

    • 9 => 90 Pixel

    • auto

    Recreating category Shopping Experiences of the demoshops

    In this tutorial you will learn how to recreate the category Shopping Experience of the ThemeWare® Demoshops.

    This tutorial is divided into 4 sections, these correspond to the categories in our demoshops: Mountain air & Adventure, Cooking pleasure & Provence und Craft & Tradition.

    Mountain air & Adventure

    Element "Banner with Text"

    Default text element as overlay banne

    Step 1: Editing Shopping Experience

    • Switch via the main navigation to the section "Contents" => "Shopping Experiences".

    • Select the landing page of the corresponding category and edit it.

    • Add a new section "Full width" above the existing section.

    Now configure the new section for the banner element.

    • Section name: Teaser

    • CSS classes: twt-custom-cms-element-overlay-primary twt-mt-n2

    • Sizing mode: Full width

    Tip: Depending on the theme, you can replace the CSS class "twt-custom-cms-element-overlay-primary" with "twt-custom-cms-element-overlay-secondary" in the section.

    • Select "Text" as the block category and insert the block named "Text" to the new section using drag and drop.

    • Now click onto the block you just added and the block settings will open on the right. Do the following settings:

      • Block name: Category text

    Now configure the element in this block.

    • Click onto the link "Data mapping" on the top right above the image upload field

    • Select the option "category.name" in the dropdown.

    • Select "Text" as the block category and insert the block named "Text" to the new section using drag and drop.

    • Now click onto the block you just added and the block settings will open on the right. Do the following settings:

      • Block name: Category description

    Now configure the element in this block.

    • Click onto the link "Data Mapping" in the upper right above the image upload field.

    • Select the option "category.description" in the dropdown.

    For moving the listing a bit above the banner now configure the section with the listing element.

    • CSS classes: twt-mt-n9 position-relative

    Finally, save your changes of the Shopping Experience and assign them to the desired category(ies) where appropriate.

    • Switch via the main navigation to "Content" => "Shopping Experiences".

    • Select the landing page of the corresponding category and edit it.

    • Add a new section "Full width" above the existing section.

    Now configure the new section for the banner element.

    • Section name: Highlights slider

    • CSS classes: twt-mt-n7 twt-pt-9 bg-primary

    • Sizing mode: Boxed content

    Tip: Depending on the theme, you can replace the CSS class "bg-primary" by " bg-secondary" in the section.

    • Select "Text" as the block category and insert the block named "Text" to the new section using drag and drop.

    • Now click onto the block you just added and the block settings will open on the right. Do the following settings here:

      • Block name: Headline

    Now configure the element in this block.

    • Add your desired headline (e.g. "Current Highlights") via the text editor.

    • Choose a centered text alignment

    • Select "Commerce" as the block category and insert the block named "Product Slider" to the new section using drag and drop.

    • Now click onto the block you just added and the block settings will open on the right. Do the following settings:

      • Block name: Product slider

    Now configure the element in this block.

    • Product assignment: manual

    • Products: Select the desired products here

    • Switch via the main navigation to the section "Content" => "Shopping Experiences".

    • Choose the landing page of the corresponding category and edit it.

    • Add a new section "Full width" above the existing section.

    Now configure the new section for the banner element.

    • Section name: SEO text

    • Sizing mode: Boxed content

    • Background colour: #fff

    • Choose "Text" as the block category and insert the block named "Text" into the new section using drag and drop.

    • Now click onto the block you just added and the block settings will open on the right. Do the following settings here:

      • Block name: SEO-Text

    Now configure the element in this block.

    • Add your desired SEO text for the corresponding category via the text editor.

    Finally, save your changes of the Shopping Experience and assign them to the desired category(ies) where appropriate.

    • Switch via the main navigation to the section "Content" => "Shopping Experiences".

    • Select the landing page of the corresponding category and edit it.

    • Choose "Text" as the block category and insert the block named "Text" to the existing section using drag and drop.

    • Now click onto the block you just added and the block settings will open on the right. Do the following settings here:

      • General

    Now configure every single element in this block.

    • Add the text navigation using the text editor.

    Finally, save your changes of the Shopping Experience and assign them to the desired category(ies) where appropriate.

    Now the display image assigned to a category and the corresponding description are automatically loaded into the CMS element.

    • Switch via the main navigation to the section "Contents" => "Shopping Experiences".

    • Choose the landing page of the corresponding category and edit it.

    • Select "Text" as the block category and insert the the block named "Text" to the existing section using drag and drop.

    • Now click onto the block you just added and the block settings will open on the right. Do the following settings here:

      • General

    Now configure the element in this block.

    • Use the text editor to add your desired SEO text for the appropriate category.

    Finally, save your changes of the Shopping Experience and assign them to the desired category(ies) where applicable.

    • Switch via the main navigation to the section "Content" => "Shopping Experiences".

    • Select the landing page of the corresponding category and edit it.

    • Select "Text & Image" as the block category and add the block named "Two columns, boxed image & text" to the existing section using drag & drop.

    • Now click on the block you just added, and the block settings will open on the right. Do the following settings here:

      • General

    Now configure each element in this block.

    • Element on the left, image

      • Click on the link "Data mapping" on the top right above the image upload field

      • Choose the option "category.media" from the dropdown list.

    Finally, save your changes of the Shopping Experience and assign them to the desired category(ies) where appropriate.

    Now the display image assigned to a category and the corresponding description will be automatically loaded into the CMS element.

    • Switch via the main navigation to the section "Contents" => "Shopping Experiences".

    • Choose the landing page of the corresponding category and edit it.

    • Add a new section "Full width" above the existing section.

    Now configure the new section for the banner element.

    • Section name: SEO text

    • Sizing mode: Boxed content

    • Select "Text" as the block category and add the block named "Text" to the new section using drag and drop.

    • Now click onto the block you just added and the block settings will open on the right. Do the following settings here:

      • Block name: SEO text

    Now configure the element in this block.

    • Add the desired SEO text for the corresponding category using the text editor.

    Finally, save your changes of the Shopping Experience and assign them to the desired category(ies) where appropriate.

    Background image: Place the desired motif with a width of at least 1920px
  • Image mode: Cover

  • CSS classes: container h1

  • Top margin: 50px

  • Bottom margin: 0px

  • Left margin: 0px

  • Right margin: 0px

  • CSS classes: container h4

  • Top margin: 0px

  • Bottom margin: 100px

  • Left margin: 0px

  • Right margin: 0px

  • Background colour: transparent or rgba(0, 0, 0, 0)

  • CSS classes: container twt-cms-block-reset

  • Top margin: 20px

  • Bottom margin: 20px

  • Left margin: 0px

  • Right margin: 0px

  • Background colour: transparent or rgba(0, 0, 0, 0)

  • CSS classes: twt-cms-block-reset

  • Top margin: 10px

  • Bottom margin: 50px

  • Left margin: 0px

  • Right margin: 0px

  • Background colour: #fff

  • CSS classes: twt-cms-block-reset

  • Top margin: 50px

  • Bottom margin: 50px

  • Left margin: 0px

  • Right margin: 0px

  • Block name: Headline

  • Layout (unfold area below)

    • CSS classes: twt-cms-element-sidebar-headline twt-mt-2 twt-mb-n2

    • Top margin: 0px

    • Bottom margin: 0px

    • Left margin: 0px

    • Right margin: 0px

  • Block name: SEO text

  • Background colour: #fff

  • Layout (unfold area below)

    • CSS classes: container

    • Top margin: 30px

    • Bottom margin: 30px

    • Left margin: 0px

    • Right margin: 0px

  • Block name: Category text

  • Layout (unfold area below)

    • Top margin: 20px

    • Bottom margin: 20px

    • Left margin: 0px

    • Right margin: 0px

  • Display mode: Cover
  • Minimum height: 190px

  • Element on the right, text

    • Click on the link "Data mapping" on the top right above the image upload field

    • Choose the option "category.description" from the dropdown list.

  • Step 1.1: Settings of the section

    Note: The text colour is automatically generated with the SCSS color-contrast function based on the background colour. If the result isn't ideal, just change the text colour manually.

    Note: Please find more ThemeWare® CSS classes in the article ThemeWare® CSS classes for Shopping Experiences.

    Step 1.2: Creating a block

    Step 1.3: Configuring element(s) of the block

    Step 1.4: Creating a block

    Step 1.5: Configuring element(s) of the block

    Step 1.6: Settings of the section

    Element "Highlights-Slider"

    Step 1: Editing the Shopping Experience

    Step 1.1: Settings of the section

    Step 1.2: Creating a block

    Step 1.3: Configuring element(s) of the block

    Step 1.4: Creating a block

    Step 1.5: Configuring element(s) of the block

    Element "SEO text"

    Step 1: Editing the Shopping Experience

    Step 1.1: Settings of the section

    Step 1.2: Creating a block

    Step 1.3: Configuring element(s) of the block

    Cooking pleasure & Provence

    Element "Headline above sidebar navigation"

    Step 1: Editing the Shopping Experience

    Step 1.1: Creating a block

    Step 1.2: Configuring element(s) of the block

    Element "SEO text"

    Step 1: Editing the Shopping Experience

    Step 1.1: Creating a block

    Step 1.2: Configuring element(s) of the block

    Craft & Tradition

    Element "Category text/image"

    Step 1: Editing the Shopping Experience

    Step 1.1: Creating a block

    Step 1.2: Configuring element(s) of the block

    Element "SEO text"

    Step 1: Editing the Shopping Experience

    Step 1.1: Settings of the section

    Step 1.2: Creating a block

    Step 1.3: Configuring element(s) of the block

    Highlights-Slider
    CMS element with customised SEO text
    Headline above sidebar navigation
    CMS element with customised SEO text
    CMS element with category text and image
    CMS element with customised SEO text
    Get started with Bootstrapgetbootstrap
    Bootstrap 5 documentation
    Introductiongetbootstrap
    Bootstrap 4 documentation
    Logo
    Logo

    Adjusting gaps in CMS blocks

    In this tutorial you will learn how to customise spacing in CMS blocks with ThemeWare® CSS classes.

    ThemeWare® "Grid" CMS blocks

    Elements in "Grid" CMS blocks have a fixed spacing of 40px in Shopware 6. ThemeWare® provides you with various CSS classes to change this spacing.

    With ThemeWare® 3.2 we have added the following CSS gap classes for ThemeWare® "Grid" CMS blocks as well as the standard "Grid" CMS blocks from Shopware.

    CSS classes

    Class
    Block/Section
    Description

    The new CSS "Gap" classes also work in the "Columns" blocks of ThemeWare®.

    twt-cms-grid-gap-0

    Block

    Sets the gap in CMS blocks to 0 pixels.

    twt-cms-grid-gap-5

    Block

    Sets the gap in CMS blocks to 5 pixels.

    twt-cms-grid-gap-10

    Block

    Sets the gap in CMS blocks to 10 pixels.

    twt-cms-grid-gap-15

    Block

    Sets the gap in CMS blocks to 15 pixels.

    twt-cms-grid-gap-20

    Block

    Sets the gap in CMS blocks to 20 pixels.

    twt-cms-grid-gap-25

    Block

    Sets the gap in CMS blocks to 25 pixels.

    twt-cms-grid-gap-30

    Block

    Sets the gap in CMS blocks to 30 pixels.

    twt-cms-grid-gap-35

    Block

    Sets the gap in CMS blocks to 35 pixels.

    twt-cms-grid-gap-40

    Block

    Sets the gap in CMS blocks to 40 pixels.

    twt-cms-grid-gap-45

    Block

    Sets the gap in CMS blocks to 45 pixels.

    twt-cms-grid-gap-50

    Block

    Sets the gap in CMS blocks to 50 pixels.

    Note: How to insert the CSS classes please find in the article .

    Details

    ThemeWare® "Columns" CMS blocks

    Details

    Note: If you want to adjust the spacing in mobile viewports separately, use the separate CSS column spacing classes:

    ThemeWare® CSS classes for Shopping Experiences
    Adjusting column spacings in CMS blocks