Advanced Styling

Use Advanced Styling to change the look of individual parts of a website element, either by choosing a target and a style or by writing your own CSS.

Advanced feature

Advanced Styling is considered an advanced use case, and support may be limited.


Open Advanced Styling

  1. In the Website Editor, click the element you want to style.
  2. Click Add Style.
  3. Click Advanced Styling.

The Add Style options for the Item Catalog element, with Advanced Styling at the bottom of the list

The Add Style options for the Item Catalog element.

The Advanced Styling window opens with two tabs:

TabUse it to
By targetPick a part of the element and a style from drop-down lists. No code needed.
CodeWrite your own CSS for the element.

The Advanced Styling window showing the By target and Code tabs

The Advanced Styling window.

Some elements don't have any targets. For those elements, only the Code tab appears.

When you're done, click Update to save your changes. Once styling has been saved, Advanced Styling shows an Edit button in the Add Style options so you can reopen it.

The Add Style options with an Edit button next to Advanced Styling

An element with saved Advanced Styling.


How Advanced Styling applies

Styles only affect this element

Everything you add in Advanced Styling, on either tab, is automatically limited to the element you're styling. Other elements on the page, including other elements of the same type, aren't changed.

There are two limits to be aware of when writing CSS on the Code tab:

  • @media blocks aren't supported. You can't add styles that only apply at certain screen sizes.
  • Only the first selector in a list is limited to the element. In a rule like a, b { }, a only affects this element, but b applies to the whole page. Write a separate rule for each selector instead.

Which style wins

When two styles set the same property, Advanced Styling uses this order:

  1. By target lines win over Code tab CSS.
  2. On the By target tab, a line higher in the list wins over a line below it.
  3. On the Code tab, a rule higher in the box wins over a rule below it. This is the opposite of how CSS normally works, where the last rule wins.

Put the most important style first:

If a style isn't taking effect, check whether a line above it, or a By target line, sets the same property.


Style by target

Use the By target tab to style part of an element without writing code.

The By target tab with a new, unedited style line

A new style line on the By target tab.

Steps

  1. On the By target tab, click Add New Style. A new line appears.
  2. Click the line to open the Edit Style window.
    The Edit Style window with empty Target and Style Name fields
  3. Choose a Target, which is the part of the element you want to change.
    The Target drop-down list for the Item Catalog element

    The targets available for the Item Catalog element.

  4. Choose a Style Name, which is the property you want to change. The window expands to show the settings for that style, such as a color picker.
    The Style Name drop-down list showing available properties
  5. Set the value and click Ok. The style appears as a line on the By target tab.
  6. Click Update to save.

Manage style lines

ToDo this
Change the orderDrag the line by the handle on its left. Lines higher in the list take priority.
Copy a lineClick the copy icon on the right of the line. Use this to set several styles for the same target.
Delete a lineClick the red trash can icon. The line is removed right away, without a confirmation.

About targets and styles:

  • The Target list is built from what's on screen when you open the window. If part of the element isn't showing at the time, such as the message for an empty catalog, it won't be listed as a target.
  • The Style Name list is the same for every element. Not every style has a visible effect on every target.

Example: Item catalog top bar background color

This example changes the background color of the top bar in an Item Catalog.

A demo Item Catalog in edit mode with the default top bar

A demo Item Catalog before styling.

  1. Add a new style line and open it.
  2. Set Target to Catalog top bar and Style Name to Background Color.
    The Edit Style window with a color picker for the Background Color style
  3. Choose a color and click Ok.
    The By target tab showing the new Catalog top bar background color line
  4. Click Update.

The demo Item Catalog with a green top bar

The Item Catalog after the change.


Style with code

Use the Code tab to write your own CSS for the element. Write standard CSS, as described in the MDN CSS reference.

The Code tab with the Target selector, Inject Target button, color picker, Inject Color button, and CSS editor

The Code tab.

The Code tab has two shortcuts. You don't have to use them.

ShortcutWhat it does
Target and Inject TargetChoose a target from the same list as the By target tab, then click Inject Target to insert its CSS selector at your cursor.
Color and Inject ColorChoose a theme color or a custom color, then click Inject Color to insert its color value at your cursor.

Example: Item catalog top bar background color

This is the same change as the By target example, made with code.

  1. On the Code tab, choose Catalog top bar as the Target and click Inject Target.
    The Code tab with the Catalog top bar selector inserted in the editor

    The Catalog top bar target inserted in the editor.

  2. Add the background color inside the braces:
    background-color: #5EB676;
    
    The Code tab with a background-color rule for the catalog top bar
  3. Click Update.

Example: Item card image shape

You can also write CSS for parts of an element that aren't in the Target list. This example changes the circular images in the Item Card (B) catalog style to ovals.

A demo Item Catalog using Item Card (B) with circular item images

The default Item Card (B).

.item-card-small-b .item-card-top .profile-container .profile-container-inner {
  border-radius: 100% / 50%;
}

The Code tab containing the border-radius rule for Item Card (B) images

The CSS on the Code tab.

A demo Item Catalog using Item Card (B) with oval item images

Item Card (B) after the change.


Use both tabs together

By target lines and Code tab CSS can be combined on the same element. For example, keep the green top bar from the By target example, then add CSS on the Code tab to round the bar's corners and center its drop-down lists.

The Code tab with CSS that rounds the top bar corners and centers its drop-down lists

Extra CSS on the Code tab.

The demo Item Catalog with a green, rounded top bar and centered drop-down lists

The Item Catalog with both tabs applied.

Remember that By target lines win when both tabs set the same property. In this example, set the background color on only one tab. See Which style wins.


Last reviewed: November 2026
IntroAdvancedStyling
/advanced/advanced_styling/
advanced
advanced_styling
Advanced Styling
Use Advanced Styling to change the look of individual parts of a website element, either by choosing a target and a style or by writing your own CSS.
© Auctria 2013-2026