Passer la navigation

[Résolu] Hiding the default parent element in a relationship form

This support ticket is created Il y a 4 years, 1 month. 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 4 réponses, a 2 voix.

Dernière mise à jour par tims-9 Il y a 4 years.

Assisté par: Waqar.

Auteur
Publications
#2306971

Tell us what you are trying to do?
Hide the default parent element in a relationship form
i can hide the submit button with css display:none;

This does not appear to work when trying to hide the disabled select element in the relationship form.
I am using the form in a view loop

#2307149

Hi,

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

To suggest some CSS code for this, I'll need to see the form itself. Can you please share the link to the page where this form can be seen?

regards,
Waqar

#2309371

lien caché

#2310033

Thank you for sharing the link.

To hide the pre-filled vehicle field, you can use the custom CSS code:


.js-wpv-view-layout form.cred_rel_form_class .container-fluid .row .col-md-2:first-of-type {
    display: none;
}

Note: To check which CSS code is applying to different page elements, you can use Google Chrome's inspect element tool, as explained in this guide:
lien caché

#2310677

My issue is resolved now. Thank you!