Skip to Content Skip to Menu

🎃 Happy Halloween! Treat yourself with an awesome discount on memberships! Get 20% off now with code SPOOKY-2024!

[SOLVED] Getting Rid of Bootstrap

8 years 10 months ago - 8 years 10 months ago #275510 by tjohns92109
[SOLVED] Getting Rid of Bootstrap was created by tjohns92109
In previous versions of CB, there were other templates besides bootstrap like 'luna', 'dark', etc. In CB 2.x, they've been removed.

I like to believe that no one in the development world HATES bootstrap more than I do. I could write pages and pages on how crappy twatter bootstrap is. But, don't worry, I won't. I'll do that on my own site haha.

Anyway, I've found that if I pull the templates out of the older version of CB, change the version number in the .xml file, and zip it up... it installs fine. Will this cause me any issues that you know of? I'm wondering if there's any reason you've removed these templates.

Actually, I realized that's not working. It's still using the Bootstrap template. yuk. Anything you can suggest that I do to get away from this? There's nothing worse when developing and running into issue after issue customizing the template because of bootstrap. I've created a custom template, but it's still using Bootstrap. Makes for a very difficult custom design.

Thanks!
Last edit: 8 years 10 months ago by krileon.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
8 years 10 months ago - 8 years 10 months ago #275565 by krileon
Replied by krileon on topic Getting Rid of Bootstrap
You won't get rid of Bootstrap. We use its classes and HTML structure. If you remap your own CSS to the same classes sure, but at that point you're just customizing Bootstrap which the below tools can significantly help you with.

bootstrap-live-customizer.com/
bootswatchr.com/

The other templates were removed, because they were no longer compatible and didn't have the time to rewrite all of the templates. Instead we'll eventually have a plugin that just lets you generate your own CB template with whatever colors you want (I've moved this project up on my TODO list).

The major complaints regarding Bootstrap are as follows.

1. Lack of semantics
A. I agree, but how do you use semantics in a generic framework? We've addressed this by adding our own semantic classes to elements. We try to always do this. In addition to that Bootstrap provides you with LESS and SASS. There's nothing stopping you from remapping that CSS to your own semantic classes.

2. Conflicting and bloated JS
A. Completely agree with this and is why we don't use its JS.

3. Every site looks the same!
A. I agree, but it's not Bootstrap at fault. It's lazy developers. Bootstrap can be VERY extensively customized with as little work as modifying the variable file, but the best approach is role your own theme (see the theme included with Bootstrap as an example).

4. Size
A. File size is a bit heavy, but with todays internet? Not a problem IMO.

Personally am looking forward to B4 and upgrading CB for it.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.
Last edit: 8 years 10 months ago by krileon.
The following user(s) said Thank You: tjohns92109

Please Log in or Create an account to join the conversation.

8 years 10 months ago #275599 by tjohns92109
Replied by tjohns92109 on topic Getting Rid of Bootstrap
The effort you've put into this issue is much appreciated, Kyle. I'll check out the resources you've provided and look forward to the future template functionality.

Please Log in or Create an account to join the conversation.

  • krileon
  • krileon
  • ONLINE
  • Posts: 48464
  • Thanks: 8280
  • Karma: 1443
8 years 10 months ago #275626 by krileon
Replied by krileon on topic Getting Rid of Bootstrap
We need to at some point provide the LESS files for our template to make it easier for developers to generate new CB templates, but was trying to hold off for Bootstrap 4 as I'll be updating all our LESS to SASS at that point. If you need the LESS files though please let me know and will discuss internally about going ahead and releasing them.


Kyle (Krileon)
Community Builder Team Member
Before posting on forums: Read FAQ thoroughly + Read our Documentation + Search the forums
CB links: Documentation - Localization - CB Quickstart - CB Paid Subscriptions - Add-Ons - Forge
--
If you are a Professional, Developer, or CB Paid Subscriptions subscriber and have a support issue please always post in your respective support forums for best results!
--
If I've missed your support post with a delay of 3 days or greater and are a Professional, Developer, or CBSubs subscriber please send me a private message with your thread and will reply when possible!
--
Please note I am available Monday - Friday from 8:00 AM CST to 4:00 PM CST. I am away on weekends (Saturday and Sunday) and if I've missed your post on or before a weekend after business hours please wait for the next following business day (Monday) and will get to your issue as soon as possible, thank you.
--
My role here is to provide guidance and assistance. I cannot provide custom code for each custom requirement. Please do not inquire me about custom development.

Please Log in or Create an account to join the conversation.

8 years 10 months ago #275633 by tjohns92109
Replied by tjohns92109 on topic Getting Rid of Bootstrap
Thank you for that. I think I can work with what's there. I've managed to make it look good enough for launch. It looks like I'll be on a retainer for this site, so maybe once design is more important than functionality I might need an increased ability to change things. But, for now, I think it looks fine.
The following user(s) said Thank You: krileon

Please Log in or Create an account to join the conversation.

Moderators: beatnantkrileon
Powered by Kunena Forum