ByteEditor Website Builder

Wiki menu

Customize Effects

⚠ Note

In ByteEditor 17, the corner radius and drop shadow of buttons, cards, pictures and videos are theme tokens. You edit them as JSON on the design's “Theme” tab.

Step 1. Open the Design Builder

Click Design Builder in the Content section and open the design you want to change (see Customize Colors for how to choose the default design).

Design Builder v17 - designs

Step 2. Open the Theme tab

Open the Theme tab. Effect tokens sit in the same “tokens” object as the colours and fonts.

Design Builder v17 - Theme tab

Step 3. Change the corner radius

Set the radius tokens, for example:

"radius.buttons": "8",
"radius.cards": "15",
"radius.pictures-and-video": "15"

Values are numbers in px. Use “0” for square corners.

Step 4. Add a drop shadow

For example, a soft shadow under cards:

"shadow.cards.offset-x": "0",
"shadow.cards.offset-y": "8",
"shadow.cards.blur-radius": "24",
"shadow.cards.color": "#00000026"

Offsets and blur are numbers in px. The last two digits of the colour set its transparency (here “26”, about 15 %). By default the offsets and blur are “0”, so there is no shadow until you set them.

💡 An invalid value (for example, “8px” instead of “8”) is ignored and the default is used instead.

Step 5. Save and publish

Click Save and publish. The site's styles are regenerated automatically.

Effect tokens

Corner radius

TokenWhat it roundsDefault
radius.buttonsAll buttons8
radius.cardsCards15
radius.pictures-and-videoPictures and videos15

Drop shadow

TokenWhat it setsDefault
shadow.cards.offset-xCard shadow: horizontal offset, px0
shadow.cards.offset-yCard shadow: vertical offset, px0
shadow.cards.blur-radiusCard shadow: blur, px0
shadow.cards.colorCard shadow: colour#bcbcbcff
shadow.pictures-and-video.offset-xPicture and video shadow: horizontal offset, px0
shadow.pictures-and-video.offset-yPicture and video shadow: vertical offset, px0
shadow.pictures-and-video.blur-radiusPicture and video shadow: blur, px0
shadow.pictures-and-video.colorPicture and video shadow: colour#5b5b5bff

💡 Effects are the same everywhere on the site: they can't be changed in a theme variant. The v4 “opacity” setting is now part of the colour: use #rrggbbaa.

Built with ByteEditor