X-Cart: shopping cart software

X-Cart forums (https://forum.x-cart.com/index.php)
-   Changing design (https://forum.x-cart.com/forumdisplay.php?f=51)
-   -   Editing the printable version (https://forum.x-cart.com/showthread.php?t=46583)

TheGameAh 03-27-2009 06:01 AM

Editing the printable version
 
Hey guys.

Trying to use the printable version feature to print up a sorta mini catalog. It looks pretty good, with the exception of page breaks.

Often times the product will print on two pages. What I'm looking for is something along the lines of "after 3 products, automatically start a new page". Anyone have any ideas?

X-Cart version 4.1.8
Linux server
PHP 5.2.1

Victor D 03-27-2009 08:46 AM

Re: Editing the printable version
 
Try to add this in your skin_printable.css
Code:

.PListCell {page-break-inside:avoid;}

TheGameAh 03-27-2009 09:29 AM

Re: Editing the printable version
 
Thank you for the fast reply.

Certainly a huge improvement. Nowhere near as many breaks. However, there is one break, between a "Market Price" and an "Our Price". Got any ideas there?

TheGameAh 03-27-2009 09:33 AM

Re: Editing the printable version
 
Ah I might have posted to soon :( It looks like there's different results depending on browser printing. It might not have worked at all. Let me confirm.

Update: Yeah I don't think the above code worked :(


All times are GMT -8. The time now is 10:56 AM.

Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.