NO BUG: Color variable bug

Bricks Ver: 1.10.1

I create a color variable and i have this problem, is not showing the color i chose, its only show black in front end, and in bricks editor, is transparent.

Browser: Firefox
OS: macOS
URL: Link to a page that illustrates this issue
Video: Short screen recording that illustrates this issue (free tool: jam.dev)

[Please describe this bug in as much detail as possible so we can replicate & debug this bug]

Hi Antonio,
Thanks so much for your report!

You have probably already assigned a value to the variable within the palette so that the value from the variable manager is overwritten (without a live link, it’s just a guess).

Please see my comment here, and check your color palette colors: if they are defined as hex + variable name in the raw field, it’s most likely the issue.

Best regards,
timmse

1 Like

Hello Timmse,

I added the new color variable to my palette, but it stopped working after I changed the HSL code in the Bricks Variable Manager.

To fix it, I deleted the variable in the Bricks Variable Manager and recreated it in WPCodeBox with the same name. Now, the color shows up as black in the Bricks editor instead of the intended color, but on the frontend, it displays correctly. I then created a new variable in WPCodeBox, and it’s now working perfectly in both the Bricks editor and the frontend.

From now on, I’ll create all my palette variables in WPCodeBox and simply reference them in Bricks.

Many thanks!

1 Like