I’m about to begin developing a CakePHP application, I understand CakePHP is aimed at allowing developers to put a web application together as quickly as possible hence it comes with default CSS and layouts for the views.
How would I go about replacing this default layout and CSS? I read briefly about ‘themes’ but don’t understand what they do exactly.
Appreciate the help.
You can copy the default layout from
cake/libs/view/layouts/default.ctptoapp/views/layouts/default.ctpand edit the copied file. (Do not edit anything in the cake folder, only in app.)Stylesheets are in
app/webroot/css/. I would advise to leave the standardcake.generic.cssalone and create a new file (or a copy of the generic file) to work with. You should link to the correct css file in your layout.