How does customizer.js work?
-
Hi all,
I was looking at changing the value of ‘hestia header gradient color’ by hand and it seemed defined in assets/js/admin/customizer.js (around line 774). So i tried to set some values by hand in there but my changes were not picked up. When does this JS file get evaluated and how do its results get saved? (like i tried adding console.log statements and nothing happened, my custom value was not saved and so on).
I was able to find my answer for changing the gradient elsewhere which I think will be sufficient for now but I would like to understand better how this part of the theme code works.
Answer was here for a quick change:
https://www.ads-software.com/support/topic/color-header-in-product-page/
Customize > Header Options > Header Settings. There you’ll be able to change the color at “Header Gradient” option.Thanks!
- The topic ‘How does customizer.js work?’ is closed to new replies.