This support ticket is created Il y a 6 années et 2 mois. 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.
Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.
Hello. Thank you for contacting the Toolset support.
Well - do you mean that you want to have a custom field which holds the color and when you display the posts belongs to any post type - you want to assign that selected color as background color?
Hi Minesh,
yes, something like that.
the idea is to have a front end form (CRED) that will allow the user choose a background color or a background image.
the user will select the color or upload the image to a custom field created with types.
then based on the color or image selected/uploaded the background of the post will change.
the post is created by the user and can be edited by the user using toolset front end forms (CRED)
Do you mean that the form will be User form? or you mean that with whatever post created by whatever user - with CRED form user will select color/image and that image should be displayed as background?
so - the thing is that, to save the color value or image when user submit the post is not an issue but the thing is that how you apply that selected color/image as background as you need to adjust your theme/html when post displayed. This is something you need to handle on your own OR I need information which theme you are using and how you displaying the post. If I see there is a easy way I can certainly help you.
Could you please share the page URL from where the user will add the new entry using CRED form and access details.
*** Please make a FULL BACKUP of your database and website.***
I would also eventually need to request temporary access (WP-Admin and FTP) to your site. Preferably to a test site where the problem has been replicated if possible in order to be of better help and check if some configurations might need to be changed.
I would additionally need your permission to de- and re-activate Plugins and the Theme, and to change configurations on the site. This is also a reason the backup is really important. If you agree to this, please use the form fields I have enabled below to provide temporary access details (wp-admin and FTP).
I have set the next reply to private which means only you and I have access to it.
Thank Minesh,
this is a good direction
i was able to find the Custom CSS location for the Content Template I created with Divi and used the following css in it
I then stooped using the Divi builder for the content template and tried to insert the same in the Toolset Content Template CSS editor with the following
I tried another workaround: load the values on the page in hidden element and call the values using JS but i'm not sure i have this nailed down.
on the content template i used