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.
Change how the switcher button looks: its frame, its font, its flags and its colours in each state.
請聯絡我們以啟用此功能Before you start
- If the fields in the Customization block are grey, customizing is not turned on for your store.
- Style and colours are saved for one device at a time. See Different settings for desktop and mobile.
- To change what the button shows, use Choose what the switcher shows.
Steps
Open the Style card

In SmartCS, open 切換器設定. Click the 高階 tab. In the 範本 block, click 自訂. In the 自訂 block, stay on the 切換器 tab and click 樣式.
Set the frame
Under 邊框, choose the 邊框線 shape and thickness. Choose a shadow for 一般狀態 and for 懸停和啟用效果. With a Classic template, set 寬度 to 自動 or 固定. A fixed width takes 20 to 1,600 px.
Set the font and flags
Under 元素, set the 字型 size, from 8 to 72 px, and its weight. Some font properties come from your theme. 旗幟樣式 appears when the button shows a flag. Choose its shape and size. With a Modern template, 圖示樣式 appears when Location shows an icon.
Pick the colours
Set 背景, 邊框, 文字 and 箭頭 in 一般狀態 and in 懸停狀態. 啟用狀態 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 儲存 in the save bar.
Modern templates
請聯絡我們以啟用此功能A Modern template has no Active state. Its fourth colour is called 圖示 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 選擇器 tab has its own 樣式 and 顏色 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.
注意
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.
相關文章
Choose what the switcher shows
Choose which parts the switcher button shows, such as language and currency, and set how each one is written, with or without a flag.
Different settings for desktop and mobile
Set up the switcher separately for desktop and mobile, copy one device's settings to the other, and see which settings are shared.
最後更新:2026年11月18日
