Navigation

ThemeWare® Manual

Configuration

Theme settings for showing listing subcategories on listing and shop pages, including how to control the element with a category custom field.

Applies to ThemeWare® 5.6.0 · Checked on

About this feature: Listing subcategories


Show 'Listing subcategories'

Displayed name:
Show 'Listing subcategories' (CMS listing pages)

Field type:
Select

Available values:
• don't show
• show
• show (via custom field)

Default value:
don't show

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)"

Technical name:
twt-listing-subcategories-show

show:
This option displays the element "Listing subcategories" on all listing pages.
You can disable the element with a custom field in categories.

show (via custom field):
With this option you can display the "Listing subcategories" element via a custom field on certain category pages.

Tip: In the "ThemeWare® Pro Edition" you can use the CMS element "Listing subcategories" in specific categories instead.

You can find more information in our manual.


Show 'Listing subcategories' (CMS shop pages)

Field type:
Select

Available values:
• don't show
• show
• show (via custom field)

Default value:
don't show

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)"

Technical name:
twt-listing-subcategories-show-cms-shop-pages

Beta: This feature may change in an upcoming update, but feel free to test it and send us your feedback.

show:
This option displays the element "Listing subcategories" on all shop pages.
You can disable the element with a custom field in categories.

show (via custom field):
With this option you can display the "Listing subcategories" element via a custom field on certain category pages.

Tip: In the "ThemeWare® Pro Edition" you can use the CMS element "Listing subcategories" in specific categories instead.

Basic configuration


Layout type

Field type:
Select

Available values:
• Image only
• Text only
• Text below the image

Default value:
Text below the image

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Basic configuration"

Technical name:
twt-listing-subcategories-layout

Select the desired layout type.

Tip: Use the same aspect ratio for all cateogry images to get the best result.


Content alignment

Field type:
Select

Available values:
• align left
• align right
• align center
• space-between
• space-around

Default value:
align left

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Basic configuration"

Technical name:
twt-listing-subcategories-justify-content

Select the desired horizontal alignment.

left
Items are positioned at the beginning of the container.

right
Items are positioned at the end of the container.

center
Items are positioned at the center of the container.

space-between
Items are positioned with space between them.

space-around
Items are positioned with space before, between, and after them.

Images


Display mode

Field type:
Select

Available values:
• Cropped (Cover)
• Fixed height (Contain)

Default value:
Fixed height (Contain)

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Images"

Technical name:
twt-listing-subcategories-display-mode

Select the desired display mode.

Original (Standard)
The image is displayed in its original resolution or is shrunk down to the current width of the content element.

Cropped (Cover)
The size of the image is adjusted so that the aspect ratio is retained and the entire content element is filled. Any overflow is cropped.

Scaled (Stretch)
The image is scaled to the width of the content element without any height restrictions.


Width (e.g. 100%)

Field type:
Text field

Default value:
100%

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Images"

Technical name:
twt-listing-subcategories-image-width

Enter your desired width (e.g. 100%).


Height (e.g. 140px)

Field type:
Text field

Default value:
140px

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Images"

Technical name:
twt-listing-subcategories-image-height

Enter your desired height (e.g. 140px).

Note: This configuration refers to the display mode "Contain".


Minimum height (e.g. 140px or none)

Field type:
Text field

Default value:
140px

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Images"

Technical name:
twt-listing-subcategories-image-min-height

Enter the desired minimum height (e.g. 140px or none).

Note: This configuration refers to the display mode "Cropped (Cover)".


Maximum height (e.g. 140px or none)

Field type:
Text field

Default value:
140px

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Images"

Technical name:
twt-listing-subcategories-image-max-height

Enter the desired maximum height (e.g. 140px or none).

Note: This configuration refers to the display mode "Cropped (Cover)".

Colour configuration


Text colour

Field type:
Colour picker

Default value:
$sw-text-color

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Colour configuration"

Technical name:
twt-listing-subcategories-color


Text colour @hover

Displayed name:
Text colour :hover

Field type:
Colour picker

Default value:
$sw-color-brand-primary

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Colour configuration"

Technical name:
twt-listing-subcategories-color-hover


Background colour

Field type:
Colour picker

Default value:
#ffffff

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Colour configuration"

Technical name:
twt-listing-subcategories-background-color

Note: This configuration applies to all theme and CMS extensions of this type.


Background colour @hover

Displayed name:
Background colour :hover

Field type:
Colour picker

Default value:
#ffffff

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Colour configuration"

Technical name:
twt-listing-subcategories-background-color-hover

Note: This configuration applies to all theme and CMS extensions of this type.


Border colour

Field type:
Colour picker

Default value:
$sw-border-color

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Colour configuration"

Technical name:
twt-listing-subcategories-border-color

Note: This configuration applies to all theme and CMS extensions of this type.


Border colour @hover

Displayed name:
Border colour :hover

Field type:
Colour picker

Default value:
$sw-color-brand-primary

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Colour configuration"

Technical name:
twt-listing-subcategories-border-color-hover

Note: This configuration applies to all theme and CMS extensions of this type.


Background colour (Image)

Field type:
Colour picker

Default value:
#eef2f5

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Colour configuration"

Technical name:
twt-listing-subcategories-image-background-color

Note: This configuration applies to all theme and CMS extensions of this type.

Typography


Font family

Field type:
Select

Available values:
• Text
• Headlines

Default value:
Text

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Typography"

Technical name:
twt-listing-subcategories-font-family

Choose which of the two fonts is used here.

You set both of them in tab "Layout" => block "Typography" - "Text" is the font from the "Text" section, "Headlines" the one from the "Headlines" section.


Font size

Field type:
Number field

Available values:
8 to 18

Default value:
16

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Typography"

Technical name:
twt-listing-subcategories-font-size


Font weight

Field type:
Select

Available values:
• light
• normal
• bold

Default value:
normal

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Typography"

Technical name:
twt-listing-subcategories-font-weight


Text formatting

Field type:
Select

Available values:
• none
• uppercase
• lowercase
• capitalize

Default value:
none

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Typography"

Technical name:
twt-listing-subcategories-text-transform

Grid


Phone (portrait) (<576px)

Field type:
Select

Available values:
• 1
• 2

Default value:
1

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Grid"

Technical name:
twt-listing-subcategories-column-count-xs

Number of columns in the smartphone viewport (<576px).

default: 1


Phone (landscape) (≥576px)

Field type:
Select

Available values:
• 1
• 2
• 3

Default value:
2

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Grid"

Technical name:
twt-listing-subcategories-column-count-sm

Number of columns in the smartphone viewport (≥576px).

default: 2


Tablet (portrait) (≥768px)

Field type:
Select

Available values:
• 2
• 3
• 4

Default value:
2

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Grid"

Technical name:
twt-listing-subcategories-column-count-md

Number of columns in the tablet viewport (≥768px).

default: 2


Tablet (landscape) (≥992px)

Field type:
Select

Available values:
• 2
• 3
• 4
• 5
• 6

Default value:
3

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Grid"

Technical name:
twt-listing-subcategories-column-count-lg

Number of columns in the tablet viewport (≥992px).

default: 3


Desktop (≥1200px)

Field type:
Select

Available values:
• 2
• 3
• 4
• 5
• 6

Default value:
4

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Grid"

Technical name:
twt-listing-subcategories-column-count-xl

Number of columns in the desktop viewport (≥1200px).

default: 4


Desktop (≥1440px)

Field type:
Select

Available values:
• 2
• 3
• 4
• 5
• 6

Default value:
4

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Grid"

Technical name:
twt-listing-subcategories-column-count-xxl

Number of columns in the desktop viewport (≥1440px).

default: 4

Pagespeed


Lazy loading

Field type:
Select

Available values:
• Eager
• Lazy

Default value:
Eager

Path to the configuration:
Tab "Extensions" => Block "Listing subcategories (on listing pages)" => Section "Pagespeed"

Technical name:
twt-listing-subcategories-lazy-loading

Select the desired loading attribute.

eager
Instructs the browser to prioritise the loading of the image. This should be used for images 'above the fold'.

lazy
Instructs the browser not to load the image until the user scrolls to it. This should be used for images 'below the fold'.

Last updated on

More from ThemeWare®: About ThemeWare® · Demoshops · Knowledge base · Video tutorial · Utilities

This page online: https://docs.themeware.design/manual/extensions/listing-subcategories-on-listing-pages/configuration · ThemeWare® Service Portal, service.themeware.design