Dynamic colors
Kasper Bryld
I have noticed that there is no option for dynamic color with ACF.
I used attributes "style" then dynamic and the color picker from ACF and in prepend i used "color:" and "background-color:".
But this doet not work with all elements because of the main content sits in a DIV and the attribute does not select the right box.
it does not work with the icon and "fill"
Elementor has the option, hope it comes to breakdance.
Renato Ćorluka
Kasper that option is supported already, you need just combine two things:
1) Dynamic data attributes
2) CSS Variables
------------------
S1]
Under dynamic data attribute you create
name: style
value: DYNAMIC => pulling from acf
Advanced - prepend text: --my-acf-color:
------------------
S2]
Under background field now you could paste value:
var(--my-acf-color)
N
Nicolino
There is a sample showing how to fix this using element studio
Onur Öneren
Nicolino video is not availble
N
Nicolino
Onur Öneren
Onur Öneren
Nicolino I should have logged in. Now it works