Skip Navigation

[Resuelto] Option to Remove Bootstrap From Layouts?

Este hilo está resuelto. Aquí tiene una descripción del problema y la solución.

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 hace 6 años, 10 meses. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Etiquetado: 

Este tema contiene 1 respuesta, tiene 2 mensajes.

Última actualización por Beda hace 6 años, 10 meses.

Asistido por: Beda.

Autor
Mensajes
#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.