| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
RE: Color Themed Site/Pages | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||||
|
|||||||||
![]() How do i make different pages different colors in the site.
Do i have to create a CSS for each page to do that?
__________________
X-CART Pro V.4.3.0 PHP version 5.2.11 MySQL version 5.0.81 Architecture x86_64 Apache version 2.2.14 (Unix)mod_ssl/2.2.14 Operating System: Linux Dedicated Ip cPanel Pro 1.0 (RC1) cPanel Version 11.24.5-RELEASE Modules: DL Expander, DL Products, One Page Checkout, Dynamic Images, Multicolumn Recommends, Narrow by Search, Random Products Tabs. X-AOM, SALES-N-STATS 1.3 , X-Offers-4.1.9, X-Magnifier41x, X-Fancy Categories, X-RSS Feeds, Static Meta Tags , X-AJAX Rating System v4.1 |
|||||||||
#2
|
|||||||
|
|||||||
![]() 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. |
|||||||
#3
|
|||||||
|
|||||||
![]() 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.
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
|
|||
X-Cart forums © 2001-2020
|