Skip Navigation

[Resolved] Option to Remove Bootstrap From Layouts?

This thread is resolved. Here is a description of the problem and solution.

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 6 years, 10 months ago. 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.

No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.

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)

This topic contains 1 reply, has 2 voices.

Last updated by Beda 6 years, 10 months ago.

Assisted by: Beda.

Author
Posts
#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.