When I installed bootstrap and copied the less starter kit it was load the bootstrap from starter kit folder/bootstrap but when I changed setting to cdn 3.2 and returned it again to disable cdn option it doesn't load bootstrap at all from cdn or locally either!!!
I'm sure I copied the bootstrap less source to my starter kit folder and I changed the folder name to bootstrap correctly.
When I return the theme option to CDN 3.2 it works correctly from CDN but I want to work locally.

I tried these solutions:
- I tried to clear cache.
- change theme name and directory.
- removed theme settings from database variable table.
- changed cdn option to 3.2 and and return it to disable many times and clear cache.

but nothing worked for me.

please help.

CommentFileSizeAuthor
screenshot.jpg187.96 KBAlaa Rihan
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

Alaa Rihan’s picture

Title: Bootstrap don't load locally » Bootstrap doesn't load locally
markhalliwell’s picture

Component: Theme settings » Miscellaneous
Category: Bug report » Support request
Priority: Major » Minor
Status: Active » Closed (works as designed)
Issue tags: -CDN, -locally

Check your file permissions (web servers can be finicky about these things, especially local ones) and ensure you're adding the correct filename of the compiled CSS in your .info file.

This isn't really an issue for this project and is really just an indication that something in your setup that is wrong.

frankcarey’s picture

It's not well documented, but you seem to need to add the local css files in your theme.settings.yml file..

global-styling:
  css:
    theme:
      css/style.css: {}
      bootstrap/dist/css/bootstrap.css: {}
  js:
    ...