Hi and thanks for your work on this great theme.

I used version 7.2 successfully on several sites, but can't get the 3.0 version to work.

Everything is ok when I setup the theme to use the CDN, but as soon as I try to use local files, no CSS is loaded.

The Javascript DOES work OK. It's just the CSS that for some reason fails to load.

I used method 2 and changed the stylesheet path in the .info file (less/style.css).

The bootstrap version I copied in the bootstrap subfolder inside the theme is 3.1.

Any hint would be appreciated.

Comments

markhalliwell’s picture

Status: Active » Closed (works as designed)

From Bootstrap sub-theming "how to":

Conditional Requirements for Method 1: Bootstrap Source Files

Countzero’s picture

Sorry but I don't understand. The preprocessor is set up, the bootstrap version is OK (3.x.x includes 3.1 right ?) and compatible with version 7.x-3.0 accronding to the information you posted so I still don't see what I did wrong.

Besides, I used method 2 so I'm confused.

Countzero’s picture

OK, the wording of my first message was ambigous, hence the confusion :

This sentence :

I used version 7.2 successfully on several sites, but can't get the 3.0 version to work.

... should read ...

I used version 7.2 successfully on several sites, but can't get the 7.3.0 version to work.

Countzero’s picture

Status: Closed (works as designed) » Active

Reopening after rewording of initial issue. With my apologies.

amorales@drupal.org.es’s picture

Have you compile the style.less to style.css ?

For example for Less preprocessor based on Nodejs. On your subtheme_name/less folder:

lessc style.less > ../css/style.css

Done this, you have to check if subtheme_name/css/style.css has been updated.

Don´t forget to change the module .info file for disabling the BootstrapCDN

markhalliwell’s picture

Status: Active » Closed (works as designed)

Everything is ok when I setup the theme to use the CDN, but as soon as I try to use local files, no CSS is loaded.

Method 1 === Local source files
Method 2 === CDN

@amorales in #5 is correct, if you are using local source files, you should be compiling it. Bootstrap source files, by default, are not compiled. You should read more about how CSS preprocessors (compilers) work: LESS and/or SASS.