Skip Navigation

[Résolu] CRED generic field to have same Bootstrap styles applied

This support ticket is created Il y a 4 années et 10 mois. 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.

Aucun de nos assistants n'est disponible aujourd'hui sur le forum Jeu d'outils. Veuillez créer un ticket, et nous nous le traiterons dès notre prochaine connexion. Merci de votre compréhension.

Sun Mon Tue Wed Thu Fri Sat
- 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 7:00 – 14:00 -
- 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 15:00 – 16:00 -

Supporter timezone: Europe/London (GMT+00:00)

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

Dernière mise à jour par stuart Il y a 4 années et 10 mois.

Assisté par: Nigel.

Auteur
Publications
#1468465

I have a user form... and I would have thought it would have the same bootstrap style applied to it.

(I tried adding output='bootstrap' to the generic field... )

Example page:

Example Toolset field highlight in blue: lien caché

Generic field, slightly larger in size and not blue...: lien caché

Id expect them to be the same, maybe I am doing something wrong.

This is a brand new site, with only 2020 Theme and Toolset active.

Ive selected load Bootstrap 4. in the Toolset setting options.

Full test site, so do what you need (access granted if necessary).

cheers

#1469163

Nigel
Supporter

Les langues: Anglais (English ) Espagnol (Español )

Fuseau horaire: Europe/London (GMT+00:00)

Screenshot 2020-01-20 at 12.48.34.png

Hi Stuart

It seems like the generic input doesn't get the class "form-control" added, which is where the Bootstrap styling comes from.

On my test site, at least, manually adding the form-control class in the settings for the generic field fixed the styling mismatch.

#1470071

My issue is resolved now. Thank you!

Easy as that 🙂