0

I've opened a fresh Bootstrap sub-theme. This sub-theme is empty of any styles. What is the right way to import the CDN-mediated style sheets into the (now-empty) Style.css of the sub-theme?

It's a long story why I don't want to use the Bootstrap CDN in that particular case but I really just want everything to be local.

How could I import the basic Bootstrap Stylesheets into my Sub-theme's Style.css file and finally use everything local?

Thanks,

1 Answer 1

2

You can use Bootstrap Library module to do that. quoting from the project page:

This module is fully compatible with the Bootstrap Theme. If you wish, use it as an alterative to the CDN loading.

8
  • Isn't there a manual way? Just in case?
    – user16289
    Commented Sep 8, 2015 at 22:38
  • 1
    there is take a look at your subtheme.info file and instruction in this page this page. but I think using the library is more flexible
    – sam2de
    Commented Sep 8, 2015 at 22:54
  • After enabling, should I now open a directory at sites/all/libraries by the name "Bootstrap" (all lowercase I guess) and extract a clean Bootstrap-install from getbootstrap.com ? That's all?
    – user16289
    Commented Sep 9, 2015 at 6:38
  • 1
    Yes, that's all.
    – sam2de
    Commented Sep 9, 2015 at 12:16
  • In getbootstrap.com here: getbootstrap.com/getting-started/#download there are 3 download options: Bootstrap, source code, and SASS. I guess "Bootstrap" which is compiled is what I need but I may be wrong: Could you please update your answer with these details and say what is most fitted and how to set the folders inside the newly-created "bootstrap" library folder? Thank you,
    – user16289
    Commented Sep 10, 2015 at 9:42

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.