Set the question bar's width and how many starter questions it shows
AddedSeveral changes in the engagement widget editor.
Question bar width. On the Appearance tab, in Size and shadow, a new Bar width group sets the bar's width At rest and When used. Each is Automatic, which keeps today's width, or Custom, a whole number of pixels from 320 to 640. A custom width stays fixed above 767 px. On a phone the bar still spans the window. The bar never gets narrower when a shopper uses it than it is at rest.
Number of questions. On the Content tab, a question bar and a Starters widget can show 1, 2 or 3 starter questions. Three stays the default. Set a value for mobile adds a separate value for screens under 768 px, from 0 to 3. With 0, no question shows on a phone. The count is read when the bar loads, so a window resized across 768 px keeps the previous chips until the next page load.
Mobile spot for an inline widget. A button or a Starters widget placed with Point at an element yourself can have its own CSS selector and position on screens under 768 px. On the Placement tab, choose Set a value for mobile under Position, then fill CSS selector, mobile and Position, mobile. Use the desktop value removes it. If one of the two is left empty, the desktop value is used. A mobile selector that matches nothing means the widget does not show on mobile.
Mobile sizes and spacing for Starters. An inline Starters widget can have its own text sizes and outer spacing on screens under 768 px. On the Appearance tab, Set a value for mobile under the Title's Text size opens Title text size, mobile and Question text size, mobile, set together. In the Advanced part of Questions and input field, each of the four outer spacings has its own mobile value. A spacing with no mobile value reuses the desktop one, and the 40 px minimum control height still holds. The preview's Mobile frame shows the result. The right card is chosen when the widget loads, so a window resized across 768 px keeps the previous one until the next page load.
Mobile offsets of a floating widget. The mobile bottom and side offsets now sit under each offset on the Placement tab, behind the same Set a value for mobile link. The Advanced block keeps only the stacking order and is now called Advanced: stacking.
All of it is saved on the widget version and goes live when you publish. A widget you don't touch looks the same as before.
Resources
