Customise Your 3D Viewer Controls and Layout

Customise Your 3D Viewer Controls and Layout

Left: the default layout — icons only, tucked into the corners. Right: Control labels: Inline text with our own button names, the zoom buttons halfway down the right edge, a row of buttons along the bottom centre, and a new button order.

Pro

Lite viewer

7 controls · zones mode

Default layout

Icons only, tucked into the corners.

Custom layout

Try the renamed buttons.

Two things to know

  • The button order and the four centre positions only work when the site-wide Control Placement setting is Drag-and-drop zones (under 3D Viewer → Settings) — with Classic corners, anything placed in a centre position quietly moves to the nearest corner.
  • Each button still has to be turned on by itself: Zoom In/Out Button, Camera/Capture Button, Download Button, Show Reset View Button, Show dimensions, Enable AR.

Your 3D viewer controls and their layout don’t have to stay as they ship. The same seven buttons can be renamed, resized, reordered and moved to eight spots on the screen — including four centre positions that the classic corner layout cannot use.

01

Rename

Replace the button names with your own. With Inline text labels, the words on each button are also what screen readers announce.

02

Resize

Set Control Size, Control Spacing and Control Edge Offset in pixels to fit your design.

03

Reorder and move

Change the button order and place buttons in eight spots, including four centre positions.

Setup

Set it up in 3 steps

1

Switch to Drag-and-drop zones

Under 3D Viewer → Settings, set Control Placement to Drag-and-drop zones so centre positions and button order take effect.

2

Turn on the buttons you need

Each button is switched on by itself: zoom, camera, download, reset view, dimensions and AR.

3

Label, place and order

Set Control labels to Inline text, rename the buttons, choose their positions and order, then adjust size, spacing and edge offset.

Under the hood

Settings used in this demo

SettingValue
Control labelsInline text — the words shown on each button are also what screen readers announce
Label textall 8 button names replaced: Closer / Wider / Expand / Snapshot / Get the GLB / Start over / Measure / In your room
Control positions on the viewerzoom → middle of the right edge · camera + download → top left · reset, dimensions, AR → bottom centre (shown side by side in a row)
Button orderdimensions, reset, AR, zoom, fullscreen, camera, download
Control Size / Control Spacing / Control Edge Offset (px)44px / 12px / 18px (allowed ranges: 24–64, 0–40, 0–60)
Site settingControl Placement = Drag-and-drop zones

FAQ

Questions about viewer control layout

Quick answers before you set up your own viewer.

Why did a button I put in the centre end up in a corner?

Centre positions and the button order only work when the site-wide Control Placement setting is Drag-and-drop zones. With Classic corners, anything placed in a centre position quietly moves to the nearest corner.

Why isn’t one of my buttons showing?

Each button has to be turned on by itself: Zoom In/Out Button, Camera/Capture Button, Download Button, Show Reset View Button, Show dimensions, Enable AR.

Do renamed buttons work with screen readers?

Yes. With Control labels: Inline text, the words shown on each button are also what screen readers announce.

How big can the controls be?

Control Size ranges from 24 to 64px, Control Spacing from 0 to 40px and Control Edge Offset from 0 to 60px. This demo uses 44px, 12px and 18px.

Keep exploring

Related camera and controls demos

Camera & controls

Choose the angle a model opens on and stop visitors flipping it upside down.

Performance & mobile

See width, height and depth measured live, and how to fix a file made off-scale.

See all 17 live 3D Viewer demos

One feature per page, each with the exact settings behind it.

See it on a WooCommerce product page: Popup 3D Models. Or browse all WooCommerce 3D product demos.

Model: GlamVelvetSofa from Khronos glTF-Sample-Assets, CC-BY 4.0, Wayfair.

Scroll to Top