Opens in a new tab

Restyling a template

Components & animation3 minutes readUpdated 1 Oct 2026

There are three places a Bricksify template keeps a value, and knowing which is which saves a lot of clicking.

1. The Bricks panel, on the element#

The things you are most likely to change are set on the element itself as ordinary Bricks controls: the section's padding and background, and on most templates the headline typography.

Select the root element and they are in the panel where you would expect. They are set there rather than in CSS specifically so that you never have to open a class to change a background colour.

These controls hold real values, including variables — a background may be set to var(--color-bg, #F2F3F7), so changing your site's colour variable changes the section too, and setting a literal colour in the panel overrides it just as you would expect.

2. Custom properties in the global class#

Anything that appears many times over — a card background repeated across sixteen cards, a border radius on every step — is not something you want to set sixteen times. Those live as CSS custom properties at the top of the template's global class.

Open the class in the Bricks class panel and you will find them first in the CSS, named after the component:

.bsfy-hero-grid {
  --bxg-cell: 48px;
  --bxg-ambient: .1;
  --bxg-active: .45;
  --bxg-radius: 400px;
}

Change one value there and the whole section follows. Each template's own page lists the properties it exposes.

Two things worth knowing:

  • Most of them default to one of your site's own variables, so a template picks up your colours before you touch anything.
  • Some templates redefine a property inside a media query, so the value steps down on narrower screens. If you change the base value, check whether there is a narrow-screen version of it a few lines below.

3. Structural CSS in the same class#

The rest of the class is structure: positioning, stacking order, overflow, masks, aspect ratios, the rules that make the component work at all. You can edit it — it is your class now — but that is where you are changing the design rather than retuning it.

What about a single element?#

You can always override one element from the panel. An element setting in Bricks is written with ID specificity, so it beats the template's class CSS. That is the right tool for "this one card should be red", and the wrong tool for "all sixteen cards should be red".