![]() |
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? |
Sure.. you can use different CSS files... in the skin1/fulfilment/home.tpl file you will see
Code:
<link rel="stylesheet" href="{$SkinDir}/{#CSSFile#}"> |
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 |
And what is the correct method of pointing to new .css file? An example please.
Thanks |
Code:
<link rel="stylesheet" href="{$SkinDir}/your_new_one.css"> |
Excellent, thank you, all new to the Smarty templates... but with this forum I'm sure I'll get the hang of it.
|
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.