Project

General

Profile

I've got my bootstrap.zip file from http://getbootstrap.com/customize. What now?

Added by Peter-Frank Spierenburg about 9 years ago

I tried deleting the contents of the /resources/themes/bootstrap directory and replacing them with the contents of the zip file. I then replaced:

// load the default bootstrap3 (sub-)theme
this->useStyleSheet("resources/themes/bootstrap/3/bootstrap-theme.min.css");

with

// load the default bootstrap3 (sub-)theme
this->useStyleSheet("resources/themes/bootstrap/css/bootstrap-theme.min.css");

But now my application looks awful, which I think has to do with:

!!!!!!!!!!
!! Warning: read the README.md file for hints on deployment, the approot looks suspect!
!!!!!!!!!!
[2016-Mar-30 08:50:21.378827] 8215 [/ xsSqAP1M6K6wXpqo] [warning] "WApplication: WApplication::addMetaHeader() with no effect"
127.0.0.1 - - [2016-Mar-30 08:50:21.379017] "GET /?wtd=xsSqAP1M6K6wXpqo&request=style&page=1 HTTP/1.1" 200 118
[2016-Mar-30 08:50:21.379051] 8215 - [info] "WebRequest: took 565.358ms"
127.0.0.1 - - [2016-Mar-30 08:50:21.381300] "GET /resources/themes/bootstrap/css/bootstrap-theme.min.css HTTP/1.1" 200 24410
127.0.0.1 - - [2016-Mar-30 08:50:21.381486] "GET /resources/themes/bootstrap/3/bootstrap.css HTTP/1.1" 404 85
127.0.0.1 - - [2016-Mar-30 08:50:21.381526] "GET /resources/themes/bootstrap/3/wt.css HTTP/1.1" 404 85
127.0.0.1 - - [2016-Mar-30 08:50:21.381587] "GET /resources/webkit-transitions.css HTTP/1.1" 304 0

I'm not sure why the application is still looking for /resources/themes/bootstrap/3/bootstrap.css or /resources/themes/bootstrap/3/wt.css since my code does not refer to those files.

What am I missing?

Peter.


Replies (1)

RE: I've got my bootstrap.zip file from http://getbootstrap.com/customize. What now? - Added by Koen Deforche about 9 years ago

The only bootstrap file you need to replace is bootstrap.css (or .min.css), and bootstrap-theme.css (or .min.css) You should replace only these files and leave all the rest as-is.

    (1-1/1)