开发者

Grails global styling

开发者 https://www.devze.com 2023-04-07 20:52 出处:网络
I was wondering how one would apply a global stylesheet to their entire site? I want to add twitter bootstrap, and a select number of other global styles, so that all the visuals are consistent.

I was wondering how one would apply a global stylesheet to their entire site? I want to add twitter bootstrap, and a select number of other global styles, so that all the visuals are consistent.

Would I add a <link> to the layouts/main.gs开发者_如何转开发p file?

UPDATE

Seems it's the css/main.css file that I'm interested in. Along with the layouts/main.gsp's reference to it. Could someone confirm this?


By default grails will use the "main" layout for scaffolding. So yes, those are the two files you are interested in.

0

精彩评论

暂无评论...
验证码 换一张
取 消