- Posts: 6
- Thank you received: 0
Bootstrap.css in front end?
- donzo
- Topic Author
- Offline
- New Member
-
Less
More
12 years 6 months ago #21501
by donzo
Bootstrap.css in front end? was created by donzo
Hi, Ive just updated to the latest Event Booking, 1.5.2, and it seems that on my events pages that the plugin is calling bootstrap.css in to the front end, and its overriding classes from my template and even core elements like "select"
This is not ideal, is there a fix for this?
I see your using bootstrap for the back-end, but I feel that having it bleed into the front end is a mistake.
Thanks
This is not ideal, is there a fix for this?
I see your using bootstrap for the back-end, but I feel that having it bleed into the front end is a mistake.
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 6 months ago #21527
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Bootstrap.css in front end?
Hi donzo
From version 1.5.0 of Events Booking, we added support for Joomla 2.5 and Joomla 3.0. To make it has the same looks between two Joomla versions, we use twitter bootstrap (it is using by many extensions). So it is not issue or bug here, it will be use in Events Booking from now on.
If you don't want to use bootstrap css, it is simple. You can simply empty the file components/com_eventbooking/assets/bootstrap/bootstrap.css and it will work well. Could you please try ?
Tuan
From version 1.5.0 of Events Booking, we added support for Joomla 2.5 and Joomla 3.0. To make it has the same looks between two Joomla versions, we use twitter bootstrap (it is using by many extensions). So it is not issue or bug here, it will be use in Events Booking from now on.
If you don't want to use bootstrap css, it is simple. You can simply empty the file components/com_eventbooking/assets/bootstrap/bootstrap.css and it will work well. Could you please try ?
Tuan
The following user(s) said Thank You: donzo
Please Log in or Create an account to join the conversation.
- donzo
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
12 years 6 months ago #21547
by donzo
Replied by donzo on topic Re: Bootstrap.css in front end?
Hi Tuan
Thanks for that, I kind of did fix by tweaking parts of the bootstrap, I didnt want to empty the file as I thought it was used by the component in the backend. I will try emptying it instead and see what happens.
I can understand using bootstrap for back end layout, it is an ideal basis for any application, but to allow it to influence the fronted is surely incorrect, if people want bootstrap styling in the front end then they will surely include it as part of the template. And if like you say many extensions will be using bootstrap, for the front end, then we may be in a situation where we are linking to multiple copies of bootstrap, slowing down the sites performance with unnecessary http requests and over cached pages, not to mention cascading issues in the css.
Thats my opinion any way. I like bootstrap very much and borrow many ideas and tricks from it, but I would never actually link to the whole kit, There are too many drone sites already with bootstrap stamped all over them.
Saying all this, Events Booking is a fantastic component and a pleasure to use, so thanks for that.
D
Thanks for that, I kind of did fix by tweaking parts of the bootstrap, I didnt want to empty the file as I thought it was used by the component in the backend. I will try emptying it instead and see what happens.
I can understand using bootstrap for back end layout, it is an ideal basis for any application, but to allow it to influence the fronted is surely incorrect, if people want bootstrap styling in the front end then they will surely include it as part of the template. And if like you say many extensions will be using bootstrap, for the front end, then we may be in a situation where we are linking to multiple copies of bootstrap, slowing down the sites performance with unnecessary http requests and over cached pages, not to mention cascading issues in the css.
Thats my opinion any way. I like bootstrap very much and borrow many ideas and tricks from it, but I would never actually link to the whole kit, There are too many drone sites already with bootstrap stamped all over them.
Saying all this, Events Booking is a fantastic component and a pleasure to use, so thanks for that.
D
Please Log in or Create an account to join the conversation.
- donzo
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
12 years 6 months ago #21548
by donzo
Replied by donzo on topic Re: Bootstrap.css in front end?
Ok, so I emptied bootstrap.css and the backend of the component fell apart, no surprises there.
Please, re-think this one through - separate the backend from the frontend styling, and leave the choice of bootstrap in the front end to the template designer. Its crazy!
Thanks
Please, re-think this one through - separate the backend from the frontend styling, and leave the choice of bootstrap in the front end to the template designer. Its crazy!
Thanks
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 6 months ago #21549
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Bootstrap.css in front end?
OK. In the next release, I will add a config option which allows users to choose to load bootstrap from front-end or not. Will try to work on it this weekend !
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- donzo
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
12 years 6 months ago #21551
by donzo
Replied by donzo on topic Re: Bootstrap.css in front end?
That would be the ideal solution, good idea!
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 6 months ago #21552
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Bootstrap.css in front end?
Hehe. Thanks. If you want, you can come back to me on Monday and ask for a version which has this config option
.

Please Log in or Create an account to join the conversation.
- donzo
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
12 years 6 months ago #21553
by donzo
Replied by donzo on topic Re: Bootstrap.css in front end?
Awesome! Will do.
Is the component Extensions Manager savvy now, i.e. does it get updated via the Extensions Manager/Updates function?
Is the component Extensions Manager savvy now, i.e. does it get updated via the Extensions Manager/Updates function?
Please Log in or Create an account to join the conversation.
- Tuan Pham Ngoc
- Offline
- Administrator
-
12 years 6 months ago #21556
by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: Bootstrap.css in front end?
No, at the moment, it cannot be updated via Extensions Manager. We will find a way to allow you to upgrade to latest version in the future. But for now, if you want to upgrade, you will need to login to our website, download latest version and run the upgrade.
Tuan
Tuan
Please Log in or Create an account to join the conversation.
- donzo
- Topic Author
- Offline
- New Member
-
Less
More
- Posts: 6
- Thank you received: 0
12 years 6 months ago #21745
by donzo
Replied by donzo on topic Re: Bootstrap.css in front end?
Morning Tuan, how did you get on with the bootstrapless config version?
Cheers
Cheers
Please Log in or Create an account to join the conversation.
Moderators: Tuan Pham Ngoc
Support
Documentation
Information
Copyright © 2025 Joomla Extensions by Joomdonation. All Rights Reserved.
joomdonation.com is not affiliated with or endorsed by the Joomla! Project or Open Source Matters.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.
The Joomla! name and logo is used under a limited license granted by Open Source Matters the trademark holder in the United States and other countries.