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

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

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

Post by Maxim » Tue 8. Oct 2013, 14:47

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__"?

Gert
Posts: 1128
Joined: Sun 18. Nov 2012, 14:18

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

Post by Gert » Tue 8. Oct 2013, 16:07

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


Post Reply