Skip Navigation

[Resuelto] Using Bootstrap with Astra

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

Problem:

Toolset has an option for loading Bootstrap 4. Where does the source CSS file live? If I customize it, is there any risk it gets overwritten when a new release of Toolset comes out?

Solution:

No, it is not recommended to hack Toolset plugin files, any change will be overridden when you upgrade Toolset plugins.

So you can disable Toolset options for loading Bootstrap 4, then load your own Bootstrap 4 files manually

Relevant Documentation:

This support ticket is created hace 3 años, 11 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
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

Etiquetado: 

Este tema contiene 6 respuestas, tiene 2 mensajes.

Última actualización por aaronM-9 hace 3 años, 11 meses.

Asistido por: Luo Yang.

Autor
Mensajes
#1874861
Astra-vs-Bootstrap.jpg

Can you tell me if there is an easy way for Bootstrap 4 to use background colors, button colors, etc., from Astra? Right now, Bootstrap colors seem to override Astra settings. For example, in the attached screenshot you can see the list group under "Upcoming Events" shows a white background even though Astra has set content to have a slight transparency. Similarly, when I apply the btn-primary class to links in the button role, it uses the Bootstrap blue instead of the green set in the Astra settings.

I'd prefer to avoid a bunch of custom code and am hoping there is an "easy" way to resolve the conflict. Thanks in advance.

- Aaron

#1875187

Hello,

I assume we are talking about bootstrap version 4 from:
enlace oculto

If it is, please follow bootstrap document to setup your CSS/HTML codes:
enlace oculto

#1876239

Sorry, this isn't a particularly helpful answer. Toolset has an option for loading Bootstrap 4. Where does the source CSS file live? If I customize it, is there any risk it gets overwritten when a new release of Toolset comes out?

#1876499

No, it is not recommended to hack Toolset plugin files, any change will be overridden when you upgrade Toolset plugins.

So you can disable Toolset options for loading Bootstrap 4, then load your own Bootstrap 4 files manually, for example:
enlace oculto

#1880939

Sorry for not responding. We had a major snowstorm and have been snowed in for a couple days. Just replying to keep this topic open. Thanks again for your help and I'll pick this back up in the next couple days!

#1882117

I have marked this thread as waiting for feedback status, you can update here if you need more assistance for it.

#1888925

Understood - thanks.