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

Designvorlagen
Post Reply
Maxim
Posts: 95
Joined: Sat 19. Jan 2013, 13:28
Location: Запорожье
Contact:

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

Post 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__"?
Simple Hosting
Бедная, бросаемая бурею, безутешная!
Gert
Posts: 2075
Joined: Sun 18. Nov 2012, 14:18

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

Post 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
Gert Ebersbach | CMSimple | Templates - Plugins - Services
Maxim
Posts: 95
Joined: Sat 19. Jan 2013, 13:28
Location: Запорожье
Contact:

Thank you

Post by Maxim »

Thank you
Simple Hosting
Бедная, бросаемая бурею, безутешная!
Post Reply