跳至內容
Switcher settings

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.

尚未提供繁體中文版本,目前顯示英文版。

Set up the switcher separately for desktop and for mobile, so each one fits its screen.

請聯絡我們以啟用此功能

Before you start

Your shoppers get the mobile version on a screen 767 pixels wide or narrower. Every other screen gets the desktop version. The switcher changes version when a shopper's window crosses that width.

Steps

Choose the device

The Setting for footer of Switcher settings, with the Mobile device button highlighted, so the settings and preview show the mobile version.

In SmartCS, open 切換器設定. At the bottom of the settings column, next to 設定物件, click the 桌面端 or 移動端 button. The line under the page title names the version you are setting. The preview shows that version.

Change the settings

Open the 高階 tab and change the template, 切換器的開啟方式, or any card in 自訂. See Choose where the switcher appears, Choose what the switcher shows and Style and colours.

Switch to the other device

Click the other device button and repeat. Your unsaved changes to the first device stay in place while you switch.

Save both devices

Click 儲存 in the save bar. One save keeps the changes to both devices.

Copy one device to the other

When the customization of the two devices is different, the 高階 tab shows a banner at the top. It asks if you want to apply the settings of the other device to the one you are setting, with an 套用 button. Click it to copy. The copy covers the cards in 自訂. It does not copy the template or 切換器的開啟方式. The copy is not saved until you click 儲存. The banner goes away when both devices match.

Phone-sized screens in the app

Switcher settings on a phone-sized screen, with the 'Settings' toggle at the top of the card highlighted.

On a narrow screen, the settings and the preview do not fit side by side. Click 設定 at the top of the card to switch between them. The 設定物件 buttons then sit above the preview.

Good to know

  • These settings are different for each device: the template, 切換器的開啟方式 and everything in 自訂.
  • These settings are the same on both devices: 自訂 CSS, 顯示模式 and 地理定位. To style one device only, write a media query in your CSS. See Add custom CSS to the switcher.
  • 重置為預設值 resets only the device you are setting. See Preview the switcher, choose who sees it, or reset.
  • Where 嵌入頁面中 is chosen for mobile, the theme's header may not have room for the switcher. If it does not fit, choose 懸浮在頁面角落 or, with a Classic template, 覆蓋在頁面頂部 for mobile.

注意

The preview is a guide and can differ from your storefront in small ways. Check the real result on a phone after you save.

最後更新:2026年11月18日

本頁內容