Recently I started using Gridbox for some websites. Their Joomla framework is using the same versions of BS that Joomla uses, so that's all good. However, some extensions like SP Page Builder use BS 3.x and I am wondering what consequences there are to consider loading more than one version on a page?
I asked the Gridbox support and they did not answer with any useful details.
Any insight would be greatly appreciated.
Multiple Bootstrap Versions Loading
- DaveOzric
- Joomla! Ace
- Posts: 1570
- Joined: Sat May 22, 2010 10:29 pm
- Contact:
-
- Joomla! Hero
- Posts: 2900
- Joined: Sun May 04, 2008 12:37 pm
Re: Multiple Bootstrap Versions Loading
bootstrap 3 has a customizer. I use it for extensions that seem not to be able to run without.
I try to stay away from bootstrap as much as I can. I consider it too much payload... unfortunately some xtensions force developers to use it. else their creation won't work.
https://getbootstrap.com/docs/3.4/customize/
select what you need and get a special package.
since BS3 has no backward compaitibilty on a lot of classes it just may work.
Of course no guarantee it will work in your setup.
I try to stay away from bootstrap as much as I can. I consider it too much payload... unfortunately some xtensions force developers to use it. else their creation won't work.
https://getbootstrap.com/docs/3.4/customize/
select what you need and get a special package.
since BS3 has no backward compaitibilty on a lot of classes it just may work.
Of course no guarantee it will work in your setup.
- AMurray
- Joomla! Champion
- Posts: 6340
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: Multiple Bootstrap Versions Loading
SP Page Builder actually uses Bootstrap 4....as does its Joomshaper's Helix framework-based templates, as it moves more toward J4.0 compatibility.
Joomla core (3.9.22) uses Bootrap 3.x and I'm using Helix template and SP PB - no ill effects with Boostrap 3/4.
Joomla core (3.9.22) uses Bootrap 3.x and I'm using Helix template and SP PB - no ill effects with Boostrap 3/4.
Regards,
--------------------------------------------------------------
A Murray
Help you I can, yes!. Post your question, you should. Keep it on topic you must!
Use the Forc....Forum Post Assistant my young Padawan!
--------------------------------------------------------------
A Murray
Help you I can, yes!. Post your question, you should. Keep it on topic you must!
Use the Forc....Forum Post Assistant my young Padawan!
- DaveOzric
- Joomla! Ace
- Posts: 1570
- Joined: Sat May 22, 2010 10:29 pm
- Contact:
Re: Multiple Bootstrap Versions Loading
I see Joomla using bootstrap-transition.js v2.3.2 in the file loaded on my site. /public_html/media/jui/js/bootstrap.jsAMurray wrote: ↑Fri Nov 20, 2020 10:20 pmSP Page Builder actually uses Bootstrap 4....as does its Joomshaper's Helix framework-based templates, as it moves more toward J4.0 compatibility.
Joomla core (3.9.22) uses Bootrap 3.x and I'm using Helix template and SP PB - no ill effects with Boostrap 3/4.
Can you explain where to find the Bootstrap 3.x version of Joomla?
- AMurray
- Joomla! Champion
- Posts: 6340
- Joined: Sat Feb 13, 2010 7:35 am
- Location: Australia
Re: Multiple Bootstrap Versions Loading
Actually you're correct Joomla 3.x comes with BS 2.3.2 (I don't know why I had the impression otherwise maybe thinking Joomla 3.x = Bootstrap 3.x....obviously not the case.)Can you explain where to find the Bootstrap 3.x version of Joomla?
However it would seem possible to implement Bootstrap 3.x, at a basic level load it via the CDN, see https://www.w3schools.com/bootstrap/boo ... tarted.asp or as @warnnemer suggests.
Regards,
--------------------------------------------------------------
A Murray
Help you I can, yes!. Post your question, you should. Keep it on topic you must!
Use the Forc....Forum Post Assistant my young Padawan!
--------------------------------------------------------------
A Murray
Help you I can, yes!. Post your question, you should. Keep it on topic you must!
Use the Forc....Forum Post Assistant my young Padawan!
-
- Joomla! Apprentice
- Posts: 28
- Joined: Tue Jun 30, 2020 12:17 pm
Re: Multiple Bootstrap Versions Loading
Bootstrap used for the core system does not affect the frontend in any way and is not loaded into the frontend.DaveOzric wrote: ↑Fri Nov 20, 2020 4:19 pmRecently I started using Gridbox for some websites. Their Joomla framework is using the same versions of BS that Joomla uses, so that's all good. However, some extensions like SP Page Builder use BS 3.x and I am wondering what consequences there are to consider loading more than one version on a page?
I asked the Gridbox support and they did not answer with any useful details.
Any insight would be greatly appreciated.
Any technology can be used in your frontend template. This will not conflict in any way with the bootstrap used for the backend.
There are a huge number of extensions for Joomla. And they are all built on different technologies. Therefore, it is very important to take care of your site's ecosystem and only use compatible extensions. For example Gridbox and Sp Page Builder are not compatible for use on the same site. And trying to use them at the same time is overkill.
And yes, Sp Page Builder uses bootstrap 4 among the first of its kind since version 3.0.
-
- Joomla! Ace
- Posts: 1823
- Joined: Fri Jul 05, 2013 10:35 am
- Location: Parts Unknown
Re: Multiple Bootstrap Versions Loading
Bad performance, conflicting styling and possibly broken JS functionality.
-
- Joomla! Fledgling
- Posts: 1
- Joined: Wed Dec 16, 2020 4:48 pm
Re: Multiple Bootstrap Versions Loading
I use SP Page Builder actually uses Bootstrap 4