Style an element with the Target Tool
Use the Target Tool when you want to restyle one specific element on your widget, such as a button, a heading or a form field, without asking the AI Chat. It opens that element's design settings directly from the preview.
Select an element
- Turn on the Target Tool in the editor.
- In the widget preview, click the element you want to style.
Once an element is selected, a bar appears at the bottom of the screen that reads Element styling mode active. The element's style controls open so you can start editing.
To style a different element, click it in the preview. The controls update to show that element's current styles.
Change its style
Edit the controls for the selected element. The preview updates as you make changes, so you can see the result right away.
Colors, gradients and borders
- Text color: set the color of the element's text.
- Background: use a solid color or a linear gradient.
- Border color, border width and corner radius: adjust the outline and how rounded the corners are.
To change the color of one element, select it, then change its text, background or border color with the color picker.
Spacing, font and width
- Padding and margin: set space inside and outside the element. You can set the top, bottom, left and right sides separately.
- Font: change the font size, font weight and text alignment (left, center, right or justified).
- Dimensions: set width and height, plus minimum and maximum width and height.
Number fields work in pixels:
- A field shows Auto when no value is set. Leave it empty, or clear it, to remove your value and go back to the element's default.
- Most number fields accept 0 to 100. Font size accepts 0 to 200.
- Number fields apply your value a moment after you stop typing, so the preview may lag by a fraction of a second.
You can select and style several elements before saving. Your edits stay as unsaved changes until you save or discard them.
Save or discard
As soon as you change an element, the bar at the bottom changes to You have unsaved changes. A counter next to it shows how many elements you've edited, for example 3 elements.
Choose one of the two options:
- Save Changes: keeps the style changes for all the elements you edited. The button shows Saving... while it works, and both buttons are disabled until it finishes.
- Discard All: throws away every unsaved style change and returns the elements to how they were.
If you selected an element but haven't changed anything, the bar shows Cancel instead of Discard All. Click Cancel to leave element styling mode.
Saving and publishing are separate steps. After you save your style changes, publish the widget to make them live on your website.
Did this answer your question?
Your feedback helps us improve.
