Developer forum

Forum » Templates » Order Print CSS from E-COM

Order Print CSS from E-COM

Peter Bille Larsen
Reply
Hi DW's

I have a page from the designer, where the print order should be set up with some custom design.

But I can't find any print.css or includes of any CSS on the order print function from ecom.

How can I attach my own print.css to the order print? when I look in the css on the print page, theres no CSS on the page at all.

Replies

 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Hi Peter,

At the front end or at the backend?

Both print screens are template driven, so you can add your own CSS classes and then atach a CSS file yourself (through the Stylesheet, in a master page or directly in the print step / order receipt template.

Hope this helps,

Imar

 
Peter Bille Larsen
Reply

Hi Imar,

It is in the backend from the ecommerce order window, I have tried to link to a CSS file, if you say it can be done, then I will try again, maybe I have missed something. The file is the PrintOrder.html, it works ok in the backend window, but the print itself on paper is all Times, even though the stylesheet says Verdana.
 
Imar Spaanjaars Dynamicweb Employee
Imar Spaanjaars
Reply

Oh, I think you may be right. You can attach a style sheet, but I think Dynamicweb strips it away when rendering the page. I recall logging this issue, or at least something very similar some time ago....

You may want to log a bug or enhancement request. The more people, the more pressure... ;-)

Imar
 

 
Peter Bille Larsen
Reply

hm oki, then I will have to fall back to inline styles while they fix it.

thanks for the input :-)

 

You must be logged in to post in the forum