WebsiteBaker Support (2.8.x) > Templates, Menus & Design
Creating a Template with Selectable Color Themes
SnapDaddy:
Hi All Bakers,
Don't know if anyone has done this before, but I wanted to design a template that allowed me to keep all template formatting the same, but just change the general color theme for different pages (link colors, hr colors, anything in the css file, background images, etc.).
I know I could have made several different templates, each having a different color theme with all of the supporting images duplicated, but that was a lot of overhead and excess to manage if I were to change the general layout (have to go back and change ALL templates).
So I came up with a compromise. I created one main template that contains all of the common formatting elements and support files and images, then I created my different color themes as striped down templates only containing the minimum WB requirements to install correctly.
Now, with a bit of php and changing the main templates path to the CSS files, you can select different color themes for your pages and all of the common formatting and files are all in one place without any duplication.
If anyone is interested, I could document how I did it. :-D
mr-fan:
--- Quote ---If anyone is interested, I could document how I did it.
--- End quote ---
this is the place for such tut's and helpdocumentations. ...the forum where we are!
so please if you have a real tricky stuff on the hand you wanna share - do it... :wink:
saying i can this and that - without explications is no real progress! maybe someone else can think your idea a little further and so such things can grow up here in the forum! 8-)
regards from bavaria
martin
crnogorac081:
also if you can, please post the demo :)
cheers
SnapDaddy:
I don't have a place to put up a demo, but can take one of the existing WB templates and add my mods with support docs.
Since I have never contrib a template (always wanted too), I guess once I'm done I just post to the show case thread for testing :?
I'll work on it over the next few days and get back to this thread!
Thanks :-D
SnapDaddy:
OK,
I created a Mutli Themes Template Set (red, green and blue) based on the WB ALL CSS template. I also created a quick doc with an explanation of how I made the mods to the ALL CSS template.
According to the Template Guidelines forum, I'm supposed to upload the templates to a new thread under the Website Showcase forum :?
OK, just read in the Official Template Repository forum that I am supposed to email my zipped templates to Matthias (ruebenwurzel), Woudloper or Klaus (kweitzel). Is that the correct method?
Thanks
Navigation
[0] Message Index
[#] Next page
Go to full version