Using CMSimple_XH 1.6.7 with an old template. Print Version displayed without a margin on the left - how can I get a small indentation / margin on the left side?
/jop
Template Print version
Re: Template Print version
Try in stylesheet:
or put the whole template into one DIV:
and set the margin-left for .page-wrapper in stylesheet.
Code: Select all
body{margin-left: <some value, e.g. 2em, 15px or any desired value>;}
Code: Select all
<body...>
<div class="page-wrapper">
the rest of tehplate
</div>
</body>
</html>
CMSimple.sk
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
It's no shame to ask for an answer if all efforts failed.
But it's awful to ask without any effort to find the answer yourself.
Re: Template Print version
If you want the margin to be applied to the print version only, just change the selector:Tata wrote:Try in stylesheet:Code: Select all
body{margin-left: <some value, e.g. 2em, 15px or any desired value>;}
Code: Select all
body.print{margin-left: <some value, e.g. 2em, 15px or any desired value>;}
Christoph M. Becker – Plugins for CMSimple_XH
Re: Template Print version
Thanks - the print version only is exactly what I needed.
PS: Unfortunately just discovered it does not work on ipad - tried both safari and google chrome?
PS: Unfortunately just discovered it does not work on ipad - tried both safari and google chrome?
Re: Template Print version
Hm, that might be a caching issue. Have you tried to clear the browser cache?jop wrote:Unfortunately just discovered it does not work on ipad - tried both safari and google chrome?
Christoph M. Becker – Plugins for CMSimple_XH
Re: Template Print version
Do you print from your ipad? I never thought anybody would do that... as I just made a template for somebody where the print button disappears on small screensjop wrote:PS: Unfortunately just discovered it does not work on ipad - tried both safari and google chrome?