The AI’s changes save without errors and the builder looks right, yet the live page is wrong. These are the traps we hit, and the fixes.
1. Mobile styles that never apply
Bricks writes media queries before the base rules. At equal specificity the base rule wins, so the phone style is ignored. Fix: use a more specific selector inside the media query.
2. Fonts falling back to serif
A quoted font name in imported CSS, such as "DM Sans", sans-serif, can be stored with escaped quotes and becomes an invalid font name. Fix: set the class typography to the plain font name, and use a single Google font rather than a font stack.
3. Colours that will not change
A colour stored as a variable keeps winning after you set a hex value, because both are stored and the variable takes priority. Fix: replace the colour object completely.
4. Logo size ignored
On a linked image, the class lands on the link, not the image. Fix: style .your-class img.
5. A page template takes over the homepage
A single-page template with the condition “all pages” overrides pages built in Bricks, homepage included. Fix: attach plain-page templates to specific page IDs.
6. Icons sitting above their text on phones
Flex rows wrap by default, so on narrow screens the icon ends up on its own line. Fix: set the row’s flex wrap to nowrap and let the text shrink.
7. The contact form crashes when sending
If the server cannot send mail, the form’s email action returns a critical error. Fix: set up SMTP first, and save submissions in the meantime. See the contact form fix.
The rule that catches all of them
Check the live page in a real browser at desktop and phone width after every change. Our layout rules are in Layout Tips for AI-Built Bricks Sites.


