SOLVED: Dynamic colors (Jet Engine)

Hi Stefan, I have still problem about color picker appears color. Here is the my problem

As you can see I created color picker for my taxonomy and I choosed a color.

Then I created my query loop within slider widget then I added dynamic term in my query loop and then I changed the background color to my dynamic term as raw choosed my color picker, but I can not see the color

I would suggest you to place dynamic data in data attribute style and color:{je_dynamic_color} and it should work as expected.

Hi Martin I tried your guide but it didn’t worked. I want to change term background color by the way.

If you want to change background color then you should use background-color:{je_engine_color}.
Please take a look at DOM if color is applied properly on element. Is your site live? If so please send link.

1 Like

Martin thanks again, here is the solution fellas;

Use heading widget, then choose dynamic data as term name then apply attributes background using dynamic color


1 Like

I am having the same problem, with the difference that it is not reading the taxonomy data to me; Did they use any configuration or enable something special for it to read?


Hi my friend, I figured out via this, used Heading widget within Block widget and make your block query loop to term. And I give a span wiht Heading widget using custom tag. Also use background: tag in value.

I did all as you told but without any results. I Can’t pullout the color from jet, even as a text field.


1 Like

same problem here
color from taxonomy - colorpicker not working

Hey @Sashik , it seems to be working for you. Can you tell us how you solved it?

Sorry for late answer.
I did it with query inside query.
The main query was resources on “resource-item”


And inner query was for term on “label-wrapper”

And then I could use that color value in style

You can see the final result here

2 Likes

@Sashik okay sounds good! this is good for a query loop
but what if you have a custom single post template and you want the dynamic color from the current selected taxonomie (jetengine) meta field?
i kinda have overall some issues with dynamic data from taxonomies.
best greetz
David

Then it should work without a query loops. It will be much easier to do it.
You can show me your page and I’ll try to help you with it if you want.

2 Likes

thank you for your help @Sashik !
i sent you a message with more details
best greetz
David

Hi guys, same problem here! I have arcive template with dynamic calendar, and inside it, I can’t set dynamic colors for taxonomies? Using Bricks 1.11.1.1. Thanks your any help!

1 Like

This is still either a ‘bug’ or dynamic data / custom fields cannot be applied to h1, h2, h3, etc. tags?

  • Using a dynamic data tag (ACF field) in the RAW color field of any element doesn’t seem to work, but a regular value will (eg. ‘pink’ or '#ffffff works, but {acf-color} does not).
  • Have tried assigning an attribute of ‘style’ and value of ‘{act-color}’ (see graphic) to the Background value of a Block and it works, but it will not work on the h3 Title element.
  • The only thing that works is assigning the attribute (above), but changing the Title element into a
    or

When you browse or inspect the element you can see the html attribute doesn’t write into the code.

We’re new to Bricks but love it - but would really love someone to look into this because being able to dynamically assign custom color inline values to h1, h2 and h3 tags (as well as other elements) is mission critical to our design (we allow clients to pick their colors on their ads, etc).

Thank you for any help. Hoping for a reply soon. :slight_smile:

Hello @CatB,

one forum post about the issue is enough :wink: Let’s keep the conversation there:

Matej