Use Bootstrap Styles when not logged in

Permalink
Hi All,

I just created some forms with the concrete5 Form Block. I really like the concept of it. Since i wanted to use Twitter Bootstrap Form styles, I found that page

http://www.concrete5.org/documentation/developers/system/style-guid...

Everything works great with using the ccm-ui class and the form looks pretty. But as soon as I log my self out, the styles are gone.
I checked the source code and found out, that when i am not logged in, there is only the ccm.base.css file loaded, and not the ccm.app.css file, where all the bootstrap styles are..

Is there a possibility to use the bootstrap styles also when i am not logged in?

Thanks for your help
Jan

janwidmer
 
roggy replied on at Permalink Reply
roggy
One way to make a work around is:

Copy header_required.php to mysite.com/elements and add this line
$this->addHeaderItem($html->css('ccm.app.css'), 'CORE');

after
$html = Loader::helper('html');
approx. at line 82.

Hope this helps.