NO BUG: Custom Field (color picker) on Category DD Says "Empty" but it's not

I have a Custom Field Group with 1 Color Picker in it:

And it’s set to show up on the Categories:

Which it does and I’ve added colors to each of the categories:

But when I add the color as the Background Color in Bricks Builder, it just says, “Dynamic Data is Empty”:

Why do you think that is? Anything I can do about it? Is it a bug?

This ticket is also up with the Meta Box Team.

I’d love some help with this one. Thanks!

Oh, a link would be nice, huh?

Hey Steve,

thanks for your report.

It would be great if you could create a small screencast demonstrating your exact setup (custom field setup, page / template setup, dynamic data usage) and showing the issue. Hard to tell what might be wrong by just looking at the website as I do not even know where you expect the color to appear.

Best,

André

1 Like

@aslotta , as requested, here’s a video describing the issue:

Thanks!

Hi @intcultcom ,

As per my email reply, to use the category dynamic data, you need to ensure currently inside a Term context or inside a Term query loop.
Please follow my email suggestion :slight_smile:

Regards,
Jenn

UPDATE
I HAVE GOT THIS WORKING BUT… THE COLOR PICKER VALUE WOULD NOT PULL THROUGH. I EVENTUALLY TRIED A SIMPLE TEXT FIELD WITH A HEX VALUE AND THAT WORKED. IS THERE A BUG WITH METABOX COLOR PICKER VALUES IN BRICKS?

Hi - I am having the exact same problem with everything set up like the OP. Can you explain what you put in your email to the OP?

I have tried adding a container with a query loop for the term but the background color is still not showing. I’ve also tried a Taxonomy element which shows the correct term but, again the background color is not being applied when I select dynamic data.

Hi @harryb ,

Without knowing your setup, it’s difficult to check if it’s a bug or not.
Where did you put your dynamic data? It should be inside color RAW value right?
Please provide more info about your setup.

Regards,
Jenn

Hi Jenn - yes, inside the colour RAW field. It works when calling the hex value from a text field but not a colour picker field.

I checked with Metabox support and the setup worked when they checked by testing with Twenty Twenty Two theme and calling the colour picker field using a function, so it would appear to be a Bricks issue with the colour picker.

Hey Harry,

please send some temporary credentials to help@bricksbuilder.io so we can have a look at your exact setup. Please include a link to this forum report and let us know where on your site to find the problematic element.

Best,

André

Hi - creds emailed as requested.

NOTE: Please look for the second email also as I forgot to give you the template link on the first one.