![]() |
RE: Color Themed Site/Pages
How do i make different pages different colors in the site.
Do i have to create a CSS for each page to do that? |
Re: Color Themed Site/Pages
If you are referring to pages.php?pageid=???, you'd need to create additional files like customer/home.tpl, but with their unique layouts. Then, when you go to pages.php?, at the bottom you can select which pageid corresponds to which unique layout (i.e. home.tpl, homesimilar1.tpl, homesimilar2.tpl, etc).
Hope that helps. |
Re: Color Themed Site/Pages
You don't need to create a new template, you can simply call a different stylesheet for each static page. It would look something like this:
{if $smarty.get.pageid eq "5"} <LINK rel="stylesheet" href="{$SkinDir}/skin1.css" type="text/css"> {elseif $smarty.get.pageid eq "6"} <LINK rel="stylesheet" href="{$SkinDir}/skin2.css" type="text/css"> {/if} That wil show one css file for page 5, and a different one for page 6. You would use this in customer/home.tpl in the head. |
All times are GMT -8. The time now is 04:44 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.