Skip Navigation

[Resolved] Split: Custom CSS code not working in the view

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

Problem:

The customer reported that if a custom ID is added to the "Single field" block's "Advanced" tab, it works, but a custom class doesn't.

Solution:

Informed that adding custom ID and/or Class both works, but for the CSS Classes field, you'll have to press enter after entering the text, so that each class can be saved as a separate box.

Relevant Documentation:

n/a

This support ticket is created 3 years, 12 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 3 replies, has 2 voices.

Last updated by ludovicD-3 3 years, 11 months ago.

Assisted by: Waqar.

Author
Posts
#2222197

Hello Waqar,

In the custom field advanced section, I add a class name and then set properties for this class in my CSS… but it’s not taken into account (you can - or cannot, actually 🙂 - see it in the concert date field on the hidden link page.) Again, what am I doing wrong?

Thanks again and best regards,

Ludovic

#2222257

Hi,

To troubleshoot this, I'll need to see exactly how this custom class and the custom CSS code have been set up in the admin area.

Can you please share temporary admin login details, along with the details about where I can see this class and CSS code?

Note: Your next reply will be private and it is recommended to make a complete backup copy, before sharing the access details.

regards,
Waqar

#2223989

Thank you for sharing these details.

I've tested the ID and CSS Classes field for the single field block and they both work as expected.

It is important to note that, unlike the ID field, for the CSS Classes field, you'll have to press enter after entering the text, so that each class can be saved as a separate block.
( screenshot: hidden link )

#2224335

My issue is resolved now. Thank you!