Samll Tweaks to Style Sheets Posted by Phylip 19 Jan 2004 15:14 GMT-0000 posts: 32 Is it possible to make small changes to Style Sheets? I'm doing a site based on WhiteBlueGrey.css which is perfect apart from the slightly wrong shade of blue. There must be somewhere to do a search and replace of the hex (#FF0000) colours used. Phylip
Posted by Damian Parker 19 Jan 2004 15:24 GMT-0000 posts: 2881 Hi Phylip, Ok, the best way to make your modifications and also future proof upgrading your site: yourthemename = anyname you like 😉 Copy the style/whitebluegrey.css to styles/yourthemename.css If the style has a folder copy that folder to yourthemename folder keeping the contents Now change to the templates/styles folder and copy the whitebluegrey folder to a yourthemename folder copying the contents as well. Now you have a the basis of your own theme in Tiki. Under Admin->general your theme should now be listed as yourthemename.css select it and save. Now, if you upgrade the tiki version you can keep all your modifications in tact within your theme. Incedentally if you want to change any of the tpl templates files in templates/ copy them to templates/styles/yourthemename and work on that copy. any tpls in the templates/styles subfolders take precidence over any in the base templates/ folder a common example if tiki-top_bar.tpl or tiki-bot_bar.tpl Hope I explained that lot ok 😊
Posted by Phylip 19 Jan 2004 15:35 GMT-0000 posts: 32 Damian, You're a great help. Thanks.😀 Do I have to do the copy server side, or can I do it from inside TikiWiki. If I can where do I locate the css files. Also, can you explain the reasoning for: > Incedentally if you want to change any of the tpl templates files in templates/ copy them to templates/styles/yourthemename and work on that copy. > any tpls in the templates/styles subfolders take precidence over any in the base templates/ folder Will there revert back to old form when upgrading etc ? Phylip > Damian: > Hi Phylip, > > Ok, the best way to make your modifications and also future proof upgrading your site: > > yourthemename = anyname you like 😉 > > Copy the style/whitebluegrey.css to styles/yourthemename.css > > If the style has a folder copy that folder to yourthemename folder keeping the contents > > Now change to the templates/styles folder > > and copy the whitebluegrey folder to a yourthemename folder copying the contents as well. > > Now you have a the basis of your own theme in Tiki. > > Under Admin->general your theme should now be listed as yourthemename.css select it and save. > > Now, if you upgrade the tiki version you can keep all your modifications in tact within your theme. > Incedentally if you want to change any of the tpl templates files in templates/ copy them to templates/styles/yourthemename and work on that copy. > any tpls in the templates/styles subfolders take precidence over any in the base templates/ folder > > a common example if tiki-top_bar.tpl or tiki-bot_bar.tpl > > Hope I explained that lot ok 😊
Posted by Phylip 19 Jan 2004 15:35 GMT-0000 posts: 32 Damian, You're a great help. Thanks.😀 Do I have to do the copy server side, or can I do it from inside TikiWiki. If I can where do I locate the css files. Also, can you explain the reasoning for: > Incedentally if you want to change any of the tpl templates files in templates/ copy them to templates/styles/yourthemename and work on that copy. > any tpls in the templates/styles subfolders take precidence over any in the base templates/ folder Will there revert back to old form when upgrading etc ? Phylip > Damian: > Hi Phylip, > > Ok, the best way to make your modifications and also future proof upgrading your site: > > yourthemename = anyname you like 😉 > > Copy the style/whitebluegrey.css to styles/yourthemename.css > > If the style has a folder copy that folder to yourthemename folder keeping the contents > > Now change to the templates/styles folder > > and copy the whitebluegrey folder to a yourthemename folder copying the contents as well. > > Now you have a the basis of your own theme in Tiki. > > Under Admin->general your theme should now be listed as yourthemename.css select it and save. > > Now, if you upgrade the tiki version you can keep all your modifications in tact within your theme. > Incedentally if you want to change any of the tpl templates files in templates/ copy them to templates/styles/yourthemename and work on that copy. > any tpls in the templates/styles subfolders take precidence over any in the base templates/ folder > > a common example if tiki-top_bar.tpl or tiki-bot_bar.tpl > > Hope I explained that lot ok 😊
Posted by Damian Parker 19 Jan 2004 15:55 GMT-0000 posts: 2881 Ok, these are going to have to be copied on the server side. all these paths are from your main tiki root so its /styles/whitebluegrey.css etc. and /templates/styles/themename