Skip Navigation

[Résolu] Option to Remove Bootstrap From Layouts?

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

Problem:
How to remove Bootstrap from Toolset?

Solution:
You can disable Bootstrap easily, in Toolset > Settings > General > Bootstrap Loading.

Toolset Layouts will not work without it, and Toolset Views and CRED will as well have some failing features if you fully disable Bootstrap.

This support ticket is created Il y a 6 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.

Sun Mon Tue Wed Thu Fri Sat
- - 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00 14:00 – 20:00
- - - - - - -

Supporter timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Marqué : 

Ce sujet contient 1 réponse, a 2 voix.

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

Assisté par: Beda.

Auteur
Publications
#612287

Hello,

I'm using the Genesis Framework for my sites and I just recently started using the Toolset Layouts component. It's pretty cool, btw! I was wondering if we could have the option to remove bootstrap from the Layouts Settings page and the Layouts editor?

The reason I ask, is that if we aren't using Bootstrap it would be nice to not have additional divs inserted into the content on the front-end of the site. It's almost like you are forced to use Bootstrap in a way if your using Layouts, even if it's disabled in the toolset settings. Maybe I'm missing something?

Thanks,
Fletcher

#612361

Layouts is based on Bootstrap 3.x

Without it, it won't work.
This is because, well, all our Components of Layouts are built with HTML and use style/scripts of Bootstrap 3.x

You can thou disable Bootstrap easily, in Toolset > Settings > General > Bootstrap Loading.

You can fully disable it, but then no Bootstrap CSS/Script will be loaded, hence all output of Layouts will be style less and action less unless you provide new Classes where possible or address the existing with new CSS/JS.

You can also change the HTML Layouts uses so theoretically you can support a totally different framework:
https://toolset.com/documentation/programmer-reference/layouts-framework-api/#example-setup-integration-layouts-foundation-framework

This is custom code that we cannot assist, but the Documentation is very elaborated.

Please let me know if this helps to proceed.