Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation for customizing Bootstrap SCSS leaves out critical information #38534

Closed
craigmcc opened this issue Apr 29, 2023 · 0 comments · Fixed by #38538
Closed

Documentation for customizing Bootstrap SCSS leaves out critical information #38534

craigmcc opened this issue Apr 29, 2023 · 0 comments · Fixed by #38538

Comments

@craigmcc
Copy link

For 5.3, the page I am referring to is:

https://getbootstrap.com/docs/5.3/customize/sass/

but the issue has been there a long time.

People new to understanding how SCSS -> CSS works, especially in relationship to Bootstrap, need to understand two critically important details that are not currently covered:

  • After you have created your scss/custom.scss or whatever file, you need to recompile it to create a revised scss/custom.css (or whatever) file.
  • Subsequent to that recompile, you need to import the custom custom.css file, instead of the standard Bootstrap one.

Separately, it would be useful to point out that tools like sass are available that can watch for changes in your source files, and automatically recompile the CSS when the SCSS file is changed. Many IDEs also have "file watching" plugins that can do the same thing.

It took me viewing more than a few YouTube videos to figure out why just editing my custom.scss file didn't have any effect.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
Status: Done
Development

Successfully merging a pull request may close this issue.

2 participants