Skip Navigation

[Resolved] CSS for custom fields

This thread is resolved. Here is a description of the problem and solution.

Problem:

The user was having issues with the CSS style editor for the custom fields.
Solution:
Styling editor is deprecated feature - you should not use it.

As workaround - for now our Devs suggested to use following plugins as a workaround instead of using styling editor: => https://wordpress.org/plugins/add-admin-css/

You can find proposed solution, in this case, with the following reply: https://toolset.com/forums/topic/custom-field-creation-error/#post-914784

This support ticket is created 6 years, 2 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 16 replies, has 2 voices.

Last updated by miguelG-5 6 years, 2 months ago.

Assisted by: Shane.

Author
Posts
#1081596
2018-08-13_19-54-27.jpg

Hi Christian

I decided not to use CRED for this project because setting un the repeating group is to complicated, clients will have to work with the backend form .

I am trying to: Change the CSS of custom fields (types Version 3.0.7)

I activated the editor with : define('TYPES_USE_STYLING_EDITOR', true);

but the editor in the backend is not working The field is empty...

Is there à work around ?

#1081603

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Miguel,

That you for contacting our support forum.

Could you let me know which field is empty?

Also it remains empty after you add data and save?

Please let me know.

Thanks,
Shane

#1081608
2018-08-13_19-54-27.jpg

Hi Shane

Please look at the picture, there is nothing inside "fields styling editor".

I can't edit the CSS...

#1081663

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi miguel,

I see the issue now.

This is possibly caused by a plugin conflict.

Could you temporarily disable all the non-toolset plugins and try again ?

Thanks,
Shane

#1082868

Hi Shane

I disable all plugins, and tried with the Twenty Seventeen Theme, but it doesn't work... there is nothing inside the "fields styling editor"

Miguel

#1082996

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Miguel,

Would you mind allowing me to have admin access to the site to have a look ?

The private fields have been enabled.

Thanks,
Shane

#1083768

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Miguel,

I Took a look at this for your and it seems that the issue is just with one of your custom field groups.

Could your try re-creating this field group?

Thanks,
Shane

#1083922

Dear Shane

As soon as I save the group with any field, the Fields Styling Editor becomes inactive.

I think there is a bug in this version.

Thanks

#1083970

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Miguel,
Would you mind me taking a copy of your site for further debugging ?

If i'm able to understand what is causing this issue then I can make a report to our 2nd tier supporters.

Thanks,
Shane

#1083977

No problem... You can copy the site

Thanks for your help

#1084716

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Miguel,

I'm creating the copy now to do the testing.

Thanks,
Shane

#1084720

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Miguel,

I tried Creating a new field group and used the existing fields and added to this new field group and it works fine for me.

Thanks,
Shane

#1096884

Hi Shane

Sorry to reopen this ticket.

As soon as I save the field group with a field inside, the button "open style editor" disappear .

Before saving the button is there, after saving I cannot make any modification.

Thanks

#1097018

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Hi Miguel,

I've escalated this one to our 2nd tier supporters as a bug so that it can be resolved by our development team.

Thanks,
Shane

#1098747

Hi Shane

Is the any way to create a css that will overwite the wpt-toolset-backend.css ?

I rather not modify the original wpt-toolset-backend.css

Thanks in advance