Skip Navigation

[Resolved] How to manage custom CSS classes?

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.

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

Supporter timezone: Asia/Karachi (GMT+05:00)

This topic contains 6 replies, has 2 voices.

Last updated by Arno 2 years, 10 months ago.

Assisted by: Waqar.

Author
Posts
#2344459

Hi,

I have a container block, and I added my own CSS class to the CSS Classes of the block. If I enter my class name and hit Enter, it seems to create a term in a taxonomy. Is there documentation about this? Where can I manage that taxonomy, to delete or rename classes?

Thanks,
Arno

#2344539

Hi Arno,

Thank you for contacting us and I'd be happy to assist.

The interface to add the custom CSS class name is similar to the one for adding a taxonomy/tag term, but it doesn't actually add one.

It is implemented this way so that it is easier to manage multiple class names and reuse them for other blocks/pages. There is no separate page/section available to manage those custom class names in one place.

regards,
Waqar

#2344623

Hi Waqar,

The way you describe it is the way I expected it to work. But if I go into WordPress hours after entering a random CSS class, that class pops up if I start typing. Please see attached. It does store this somewhere apparently.

Kind regards,
Arno

#2345131

Thanks for writing back and your observation is correct.

The custom class names are stored in the serialized form in the "{table_prefix}_options", under the option name "toolset_blocks_settings".

#2345159

Hi Waqar,

Ok, I understand. In that case I think a feature request makes sense, in order to allow at least removal of class names. Right now, it stores all typos and old classes we may no longer need. And they keep coming up as suggestions when typing in the box.

#2345201

Yes, it makes sense, and the feature to manage those custom class names can be useful.

You're welcome to submit a feature request for this at:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

#2345219

Thank you! I submitted a feature request.