Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What happened to bootstrap customize?

Bootstrap 3 used to have this customize option: https://getbootstrap.com/docs/3.3/customize/

However, I'm unable to find such a link for Bootstrap 4. I'm just building a simple website and won't be using 80% of it's functionality for sure. I don't want most of the JS functionalities too. How do I go about this?

like image 331
Elaine Byene Avatar asked Mar 07 '23 02:03

Elaine Byene


1 Answers

This feature is not yet in Bootstrap 4 afaik.

But you can modify the SCSS file and build the Bootstrap css and js file.

This is what @mdo say about it

This is essentially the same as commenting out an import statement in bootstrap.scss. I know there's a bit more to it when it comes to shared components, but it's basically 1:1. It's been requested before and I was a pass then, still am now.

Check the Bootstrap issue/feature-request here

Example

@import "node_modules/bootstrap/scss/functions";
@import "node_modules/bootstrap/scss/variables";
@import "node_modules/bootstrap/scss/mixins";
@import "node_modules/bootstrap/scss/root";
@import "node_modules/bootstrap/scss/print";
@import "node_modules/bootstrap/scss/reboot";
@import "node_modules/bootstrap/scss/type";
//@import "node_modules/bootstrap/scss/images";
@import "node_modules/bootstrap/scss/code";
@import "node_modules/bootstrap/scss/grid";
@import "node_modules/bootstrap/scss/tables";
@import "node_modules/bootstrap/scss/forms";
@import "node_modules/bootstrap/scss/buttons";
@import "node_modules/bootstrap/scss/transitions";

Update:

This is a very good online Bootstrap customizer Bootstrap.build

like image 133
kiranvj Avatar answered Mar 10 '23 11:03

kiranvj