Let's pretend I want to change the background picture. Where to I do this?
The attached zip file is a merge of the evo template and the default template. No css files are imported from /templates/base/css as a normal template would do. This template is completely self contained including the html template files in the templates root folder. This base template will make it easier to change things because you only have to think about the files in its own folders. Firebug will of course show you all the relevant css that belongs to each page element, provided however, you turn of all caching in your admin section... just leave that all off during development.
In this basic template, the main folder is: templates/tmpl_custom (relative to your sites root folder)
In this main folder you will find all the *.html template files These files are what arranges elements in the various individual page blocks. As a beginner, you probably shouldn't mess with these files. The main reason to change any of these html files would be if you wanted to alter the layout of some page block.
Images are located in /templates/tmpl_custom/images and any images that you use, should be uploaded here. To reference an image as a body background, do something like this in common.css
body {
background-color: #0f0f0f;
background: url("../images/grunge.jpg") no-repeat fixed center top / 100% 100% #0f0f0f;
}
PHP script files are located in /templates/tmpl_custom/scripts Here is where custom templates can make the most dramatic changes. as you can override base php classes. Suggest you leave these files alone.
I like Notepad ++ for editing CSS and other code. It has a built in ftp client where you can connect to your server, download the css file you want to edit, then save it back to the server... all within Notepad. Then all you have to do is refresh your browser to see the changes take effect. As you know, css code is an exact science... there's no close enough. One misplaced comma, colon, semicolon, bracket, etc, can wreck the entire layout of your site. I'd suggest frequently downloading/saving your custom template in separate folders as work progresses... give them revision numbers so in case you totally screw something up and don't know what, you'll have a recent working version.
Be advised that with the attached template, I have only changed a few colors. I have made no attempt to actually make the site look good with this template... that's up to the person using it.
My opinions expressed on this site, in no way represent those of Boonex or Boonex employees.