X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Newbie: Stylesheets for admin vs. main site (https://forum.x-cart.com/showthread.php?t=3741)

dennx 07-25-2003 11:26 PM

Newbie: Stylesheets for admin vs. main site
 
Can the admin section use the default CSS and main site use a new CSS?

I made changes to my skin1.css and the admin pages changed as well. Can I point admin pages or main site pages to a different stylesheet? How?

TelaFirma 07-26-2003 02:49 AM

Sure.. you can use different CSS files... in the skin1/fulfilment/home.tpl file you will see
Code:

<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}">
near the top. Just change this to point to your new CSS file.

shan 07-26-2003 06:28 AM

skin1/fulfilment/home.tpl is for fulfilment staff

skin1/single/home.tpl is for the main admin but also for some parts of the fornt end

dennx 07-26-2003 10:42 AM

And what is the correct method of pointing to new .css file? An example please.

Thanks

shan 07-26-2003 10:48 AM

Code:

<link rel="stylesheet" href="{$SkinDir}/your_new_one.css">

dennx 07-26-2003 10:56 AM

Excellent, thank you, all new to the Smarty templates... but with this forum I'm sure I'll get the hang of it.

TelaFirma 07-26-2003 11:35 AM

Yep.. sorry... wrong .tpl file. I answered before I had my usual pot of coffee in the morning.


All times are GMT -8. The time now is 01:30 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.