AI can produce a lot of pages quickly. Whether they look like one site or fifty depends on a few rules. These are the ones that worked here.
1. One container width, everywhere
Set the site container width once in a theme style (ours is 1344px), and give the header and footer the same inner width and side padding. Then every edge lines up.
2. Shared classes, not one-off styles
Give every element type a prefixed class, such as tcz-card, tcz-h2 or tcz-btn. When the AI imports a new page, existing class names are reused automatically, and a style change updates every page.
3. A small spacing scale
Two variables did most of the work: one for section spacing and one for side gutters. Fluid values such as clamp() keep them sensible from phone to desktop.
4. Grids that wrap on purpose
Use repeat(N, minmax(0, 1fr)) grids that drop to one column below a breakpoint. Do the opposite for icon-and-text rows: stop them wrapping, or the icon sits alone above its text on phones. We hit exactly that.
5. Mobile styles need extra specificity in Bricks
Bricks writes media queries before base rules. When both have equal specificity, the base rule wins, so mobile styles never apply. Inside media queries, use a more specific selector.
6. Check at 390px, every time
Open each page at phone width and confirm the page is no wider than the screen. Ten extra pixels from a search icon was enough to cause sideways scrolling here.
7. Contrast you can read
Pale-on-pale looks elegant in a mockup and fails in daylight. Keep body text dark enough for at least 4.5:1 contrast, including small grey labels.
8. Same layout, different copy
One layout per page type, filled with different copy, keeps sections recognisable. Readers learn where to look, and so does the AI.
See these rules in action in Sample Layouts Built with Bricks AI.


