Gå til indhold
Switcher settings

Style and colours

Change the frame, font, flags and colours of the switcher button, including its hover and open states, and save them for your store.

Ikke tilgængelig på Dansk endnu. Den engelske version vises.

Change how the switcher button looks: its frame, its font, its flags and its colours in each state.

Kontakt os for at aktivere dette

Before you start

Steps

Open the Style card

The Style card of the switcher customization, open, with the Style card header highlighted.

In SmartCS, open Skifteindstillinger. Click the Avanceret tab. In the Skabelon block, click Tilpas. In the Tilpasning block, stay on the Skifter tab and click Stil.

Set the frame

Under Ramme, choose the Kant shape and thickness. Choose a shadow for Normal tilstand and for Effekt ved hover og aktiv. With a Classic template, set Bredde to Automatisk or Fast. A fixed width takes 20 to 1,600 px.

Set the font and flags

Under Elementer, set the Skrifttype size, from 8 to 72 px, and its weight. Some font properties come from your theme. Flagstil appears when the button shows a flag. Choose its shape and size. With a Modern template, Ikonstil appears when Location shows an icon.

Open the Color card

The Color card of the switcher customization, open, with the Color card header highlighted.

Click Farve. Only one card is open at a time, so the Style card closes.

Pick the colours

Set Baggrund, Kant, Tekst and Pil in Normal tilstand and in Hover-tilstand. Aktiv tilstand sets the colours of a Classic switcher while it is open. Pick a colour, or type it as #rrggbb. Add two more digits, as in #rrggbbaa, to set its transparency.

Save your changes

Check the preview, then click Gem in the save bar.

Modern templates

Kontakt os for at aktivere dette

A Modern template has no Active state. Its fourth colour is called Ikon and is the location icon. Its width is always Auto.

Good to know

  • If you type text that is not a colour, the field keeps it. After you save, an error under the field asks for a colour in the format #rrggbb. A number outside its range gets an error in the same way.
  • The Vælgere tab has its own Stil and Farve cards for the list that opens. They work the same way, with groups for the select box, the values, the search box and the button.
  • To change what a template starts with, see Switcher templates and your own templates.

Bemærk

The preview is a guide and can differ from your storefront in small ways. The storefront is the final result. For settings these fields do not cover, use Add custom CSS to the switcher.

Sidst opdateret 18. november 2026

På denne side