Multiple Bootstrap Versions Loading

Need help with the Administration of your Joomla! 3.x site? This is the spot for you.

Moderator: General Support Moderators

Forum rules
Forum Rules
Absolute Beginner's Guide to Joomla! <-- please read before posting, this means YOU.
Forum Post Assistant - If you are serious about wanting help, you will use this tool to help you post.
Windows Defender SmartScreen Issues <-- please read this if using Windows 10.
Post Reply
User avatar
DaveOzric
Joomla! Ace
Joomla! Ace
Posts: 1570
Joined: Sat May 22, 2010 10:29 pm
Contact:

Multiple Bootstrap Versions Loading

Post by DaveOzric » Fri Nov 20, 2020 4:19 pm

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.

waarnemer
Joomla! Hero
Joomla! Hero
Posts: 2870
Joined: Sun May 04, 2008 12:37 pm

Re: Multiple Bootstrap Versions Loading

Post by waarnemer » Fri Nov 20, 2020 8:05 pm

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.

User avatar
AMurray
Joomla! Champion
Joomla! Champion
Posts: 6195
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Multiple Bootstrap Versions Loading

Post by AMurray » Fri Nov 20, 2020 10:20 pm

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.
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!

User avatar
DaveOzric
Joomla! Ace
Joomla! Ace
Posts: 1570
Joined: Sat May 22, 2010 10:29 pm
Contact:

Re: Multiple Bootstrap Versions Loading

Post by DaveOzric » Mon Nov 23, 2020 3:06 pm

AMurray wrote:
Fri Nov 20, 2020 10:20 pm
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.
I see Joomla using bootstrap-transition.js v2.3.2 in the file loaded on my site. /public_html/media/jui/js/bootstrap.js

Can you explain where to find the Bootstrap 3.x version of Joomla?

User avatar
AMurray
Joomla! Champion
Joomla! Champion
Posts: 6195
Joined: Sat Feb 13, 2010 7:35 am
Location: Australia

Re: Multiple Bootstrap Versions Loading

Post by AMurray » Mon Nov 23, 2020 10:34 pm

Can you explain where to find the Bootstrap 3.x version of Joomla?
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.)

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!


Post Reply

Return to “Administration Joomla! 3.x”