Sauter la navigation

[Résolu] Which Bootstrap is applied ?

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

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

Supporter timezone: America/Jamaica (GMT-05:00)

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

Dernière mise à jour par nicolaS-3 Il y a 2 années et 7 mois.

Assisté par: Shane.

Auteur
Publications
#2410905

Hi
to make it short I will make an exmple:
In a classic view I have this code:

<a href="[wpv-post-url]" class="btn btn-primary">CLICK HERE</a>

If I enable Toolset Bootstrap selecting "Toolset should load Bootstrap 4" the button gets its settings, but they are different from the Bootstrap settings in the Customizer of my theme (Kedence).
If I select "The theme or another plugin is already loading Bootstrap 4" the <a> tag displays like a link, meaning that the btn-primary class from the Toolset Bootrap isn't applied anymore (correct), but I'd expect the same class from the theme Bootstrap to be applied, and it's not. Why ?
Thanks
Regards
Nicola

#2411051

Shane
Supporter

Les langues: Anglais (English )

Fuseau horaire: America/Jamaica (GMT-05:00)

Hi Nicola,

Thank you for getting in touch.

When "The theme or another plugin is already loading Bootstrap 4" is selected then Toolset is relying on the theme or another plugin to have bootstrap included on your site.

If Kadence includes the Default Bootstrap CSS and JS then the button should load correctly. Given that this is the case then it's quite possible that their loading a customized version of Bootstrap.

Thanks,
Shane

#2411439

Hi
I asked the Kadence support, it looks like they don't use Bootstrap 4 by default, that's why ...
Thanks
Regards
Nicola