Page 1 of 1

Как добавить отступы справа и слева "__cmsimple_default__"?

Posted: Tue 8. Oct 2013, 14:47
by Maxim
Image Здравствуйте.
Как добавить отступы справа и слева в версии для печати в шаблоне "__cmsimple_default__"?

Image Guten Tag.
Hinzufügen Einzug rechts und Links in der Version für den Druck in der Vorlage "__cmsimple_default__"?

Image Hello.
How to add padding to the right and to the left version for print template "__cmsimple_default__"?

Re: Как добавить отступы справа и слева "__cmsimple_default_

Posted: Tue 8. Oct 2013, 16:07
by Gert
Maxim wrote:How to add padding to the right and to the left version for print template "__cmsimple_default__"?
The print view is not made for screen, but for printing the content of a page by the browsers print function. The print view should not have paddings or margins.

But however - you can add a class .cmsimplecore_print to the ./css/core.css, so it will work for all templates:

Code: Select all

/* CMSIMPLE PRINT */

.cmsimplecore_print {padding: 20px;}

...
Gert

Thank you

Posted: Thu 10. Oct 2013, 11:48
by Maxim
Thank you