Passer la navigation

[Résolu] Split: Custom CSS code not working in the view

Ce fil est résolu. Voici une description du problème et la solution proposée.

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 Il y a 4 years, 6 months. 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 -

Fuseau horaire du supporter : Asia/Karachi (GMT+05:00)

Ce sujet contient 3 réponses, a 2 voix.

Dernière mise à jour par ludovicD-3 Il y a 4 years, 6 months.

Assisté par: Waqar.

Auteur
Publications
#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 lien caché 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: lien caché )

#2224335

My issue is resolved now. Thank you!