Skip Navigation

[Closed] Dynamic Gradient Color Not Rendering Frontend

This support ticket is created 2 years, 10 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

This topic contains 5 replies, has 2 voices.

Last updated by Christopher Amirian 2 years, 10 months ago.

Assisted by: Christopher Amirian.

Author
Posts
#2605935
dynamic_color_gradient_panel.png
elementor_editor.png
frontend.png

Dynamic Gradient Color Not Rendering Frontend.
When adding a single text field in toolset and applying it to my Elementor template it only shows the one solid color even though I set it as gradient. I've contacted Elementor and they said that the issue is with the third party plugin which is toolset.
Please let me know what I can do to resolve this issue.
Thank you!
Dwayne

#2606111

Christopher Amirian
Supporter

Languages: English (English )

Hi Dwayne,

I am not sure if I understand the issue. Toolset does not have a gradient background color feature.

From the image sou shared it seem that you use an Elementor feature.

Now I do not understand what does the "single text field " have to do with the setup?

Would you please explain your setup in more details?

Thanks.

#2606159
frontend.png
Screenshot 2023-05-14 134138.png
Screenshot 2023-05-13 120319.png
Screenshot 2023-05-14 133809.png
Screenshot 2023-05-14 133640.png

Thanks Christopher for you reply. Sure I can explain more.
I created 3 single line text field using toolset to capture the hex color value so that I can use with an Elementor template for there background gradient option on a block section. When applying the different single text fields as dynamic it shows that it's applying the hex value correctly in the Elementor editor view but when I view it from the frontend of the page it only shows one color but does not show the other dynamic values that was added. If you see the screenshot you can see one page show a solid color and the other gradient. I contact Elementor already regarding this issue because I thought is was a issue with the template but they said it was the third party plugin I'm using which is Toolset. If your able to replicate this on your side that would help to see what the issue is. Please let me know if I explain this well enough for you to see my issue.
Thank you,
Dwayne

#2606491

Christopher Amirian
Supporter

Languages: English (English )

Hi there,

Thank you for the complete explanation and I understand the issue now.

Well, this is hard for us to know what is going on on the Elementor side as we are not the developers of that plugin.

What I have in mind is to test two things for now and let's see the result:

Check without #

Try to add the value of the Hex color code without #. Maybe the Elementor dynamic option only accepts the number and it adds the # sign itself. I am not sure but worth the try.

Check the value without Elementor

Check if Toolset adds a correct value int he first place.
Create a simple page and use a view to show the values on a page and see if it shows the correct value.

Finally, I would ask the Elementor support, what is the correct value that needs to be added there in their Element for the option to work?

Thank you 😊 .

#2607723
Screenshot 2023-05-17 174340.png
Screenshot 2023-05-15 181859.png

Hi Christopher, I was able to remove the dynamic set for color gradient and everything works fine from the edit section and front end.
I was able to inspect the Google element and notice when the dynamic was added that the style for that element is missing the gradient but when it's apply static is shows. Please see the attachment that will help with my explanation.

Thank you and look forward to your reply.
Dwayne

#2607823

Christopher Amirian
Supporter

Languages: English (English )

Screenshot 2023-05-18 at 13.20.26.png
Screenshot 2023-05-18 at 13.20.44.png

Hi there,

Thank you for the information.

I checked the website and even if I use the normal Elementor primary color feature without Toolset for the second color it still has the issue and it does not show the result on the front end.

The fact that the color shows ok in the Elementor itself in the backend shows it is not a Toolset related thing and it is related to Elementor.

Toolset does not have any control over the code generation of the style, and Toolset uses the normal WordPress custom field (post-meta) feature to create the custom field.

Thanks.

The topic ‘[Closed] Dynamic Gradient Color Not Rendering Frontend’ is closed to new replies.