Zen Cart Logo
Forums / Templates, Stylesheets, Page Layout / Stylesheets in Admin

Stylesheets in Admin

Locked

Views: 1,128

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
14 Aug 2006, 3:48 PM
#1
pyrobri avatar

pyrobri

New Zenner

Join Date:
Feb 2006
Location:
UK
Posts:
41
Plugin Contributions:
0

Stylesheets in Admin

Hi,
Does anyone know how to set the stylesheets in the admin area to use the ones on the main site?
I have created a stylesheet for my client that formats his text properly using the H and P etc tags to create a uniform style. However the style does not show within the admin area when he previews a product.
How do i set the styles in there to the custom ones i have created so the preview works properly?

Regards

14 Aug 2006, 3:56 PM
#2
pyrobri avatar

pyrobri

New Zenner

Join Date:
Feb 2006
Location:
UK
Posts:
41
Plugin Contributions:
0

Re: Stylesheets in Admin

OK after looking for that for ages i made the post and then promptly found out how to do it...!

Still, i can see the styles in the preview now, but it would be very nice to be able to see them actually in the html editor. Also does anyone know how to remove the ability to change the font (it always wants to be verdana 12pt) sorry if this is in the wrong group..

15 Aug 2006, 6:31 PM
#3
shamusomalley avatar

shamusomalley

Zen Follower

Join Date:
Jun 2005
Location:
Center of the Universe
Posts:
192
Plugin Contributions:
0

Re: Stylesheets in Admin

The main stylesheet for the admin is admin/includes/stylesheet.css.

You will see:

a,body,html,table{
font:normal normal 11px Verdana,sans-serif;
}

Towards the top of the sheet. Elements that are not specifically styled will likely be inheriting font styles from these selectors. You can either specify the alternate font for all the kinds of elements you want styled that way or you can change the default by adjusting the selector mentioned above.

Hope that answers your question. Good Luck.