| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
#1
|
|||||||
|
|||||||
![]() Hello, I tried to figure out what I could on my own, but I'm stuck on something that is probably a simple fix. It was my understanding that the skin1.css only affected the customer side and skin1_admin.css affected the admin, but instead skin1.css is actually being applied to my admin as well. I know how to keep the page formatting sepearte using {if} stuff so I'm hoping someone can tell me how to make is so that the admin uses a different css file than the customer side. I really just want to keep the admin with all the default values when I first installed xcart. Any genious' want to help me out? Thanks.
Dustin X-Cart Gold v4.1.x
__________________
Thanks. Dustin // Captain [ BrandFly ] Design & Other Creative Stuff BrandFly.com X-Cart Gold v4.1.1 |
|||||||
#2
|
|||||||
|
|||||||
![]() Hmmm...by default the admin area should call skin1_admin.css. You can check this by having a look at single/home.tpl, as that is the admin area main template. You should see this line of code at the top:
<link rel="stylesheet" href="{$SkinDir}/skin1_admin.css" />
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Thanks for the help, this will be good to know in the future. I checked the file and it IS calling the skin1_admin.css. Is there a possibility that i may have messed up this code in another file?
__________________
Thanks. Dustin // Captain [ BrandFly ] Design & Other Creative Stuff BrandFly.com X-Cart Gold v4.1.1 |
|||||||
#4
|
|||||||
|
|||||||
![]() Are you using Pro or Gold? May want to make sure you didn't overwrite skin1_admin.css by mistake.
Also, please be sure to add your full version to your signature. Thanks ![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||||
|
|||||||||
![]() If you apply embedded styles into tables and form fields within this directory
skin1/"anyfile.tpl" you might possible change will affect the admin section. For example if you apply a background color directly to the files in the above directory you will see the changes on the customer end but also in your admin section. Generally a good idea is to add CSS styles to the sections you want in that directory. Since the css is different it wont affect any other part of the site. usually all changes for customers are done in this directory skin1/customers be careful when working in the following directory skin1/main or skin1/"anyfile.tpl" good luck
__________________
X-Cart Gold 4.1.3 ![]() ![]() ![]() PHP/4.4.4 MySQL version 4.1.21 |
|||||||||
#6
|
|||||||
|
|||||||
![]() Code:
__________________
xcartmods.co.uk |
|||||||
#7
|
|||||||
|
|||||||
![]() Hey everybody, thanks for your help. I actually figured out what the problem is. rectangle_bottom.tpl is used in both the admin and the customer side. I had attached a style sheet to this file for layout purposes so it was applying this style to the entire admin. By deleting it, it fixed my problem.
__________________
Thanks. Dustin // Captain [ BrandFly ] Design & Other Creative Stuff BrandFly.com X-Cart Gold v4.1.1 |
|||||||
#8
|
|||||||||
|
|||||||||
![]() PhilJ, your comment #6 helped me a lot. I've just learnt that if something is shared it's best to just start with your {if} beofre I go in and do anything funky to the customer side.
Thanks a bunch (even though it's almost 1 year after you've posted it!!!)
__________________
Matthew Stroh Version 4.1.9 |
|||||||||
|
|||
X-Cart forums © 2001-2020
|