Welcome, Guest ( Customer Panel | Login )




 All Forums
 VPCart Forum
 VP-ASP 7.0 Questions
 Styles in content - SOLVED
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

seroomnz
Starting Member

24 Posts

Posted - July 13 2012 :  18:38:08  Show Profile  Reply with Quote
Hi. Why do the styles created for the content pages and held in the layout.css not show up when in the editor. Where should I put them so my customer sees the same layout when he is editing as shows up on the website?

I tried adding the same styles to stylesheets/admin_style.css and still all the <div> have no padding or background colours etc.

Cheers

Edited by - seroomnz on July 16 2012 00:54:01

manilow
VP-CART New User

France
134 Posts

Posted - July 14 2012 :  06:35:08  Show Profile  Visit manilow's Homepage  Reply with Quote
Hi Seeromnz,

You can specify the css file in the admin$db.asp file. In "Function addHTMLEditor" look for :

oEdit_<%=fieldname%>.css="../stylesheets/your-css-file.css";//Specify external css file here

The file path should be preceeded by ../ when the stylesheets directory is located in the root and not in the admin directory.

Regards,

Erik
www.AquaThermia.com
Go to Top of Page

seroomnz
Starting Member

24 Posts

Posted - July 15 2012 :  17:14:55  Show Profile  Reply with Quote
Hi Manilow. Yep that worked, thanks for the hint.


Edited by - seroomnz on July 15 2012 17:19:00
Go to Top of Page
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
Snitz Forums 2000
0 Item(s)
$0.00