-
AuthorPosts
-
October 22, 2013 at 10:04 am #191608
i have the blank template with the framework v3 in Joomla 2.5.
How can i add a print.css?
When i am printing the site from the print-popup-window, the brint-button is inside the text.
Can i delete this button for the print?See the attachment.
thanks
October 22, 2013 at 10:25 am #509837<em>@meiser 394705 wrote:</em><blockquote>i have the blank template with the framework v3 in Joomla 2.5.
How can i add a print.css?
When i am printing the site from the print-popup-window, the brint-button is inside the text.
Can i delete this button for the print?See the attachment.
thanks</blockquote>
I have added some code, but i think it is good. Is this the right way, to hidden the button in the print? See the attachment.
Added in my template-custom.css
@media only print {
@page
{
size: auto; /* auto is the initial value */
margin: auto; /* this affects the margin in the printer settings */
}.btn, .btn-group, .dropdown-menu, .btn-group .pull-right .open {
display:none!Important;
}.article-content {
margin-top: 25px ;
}}
phong nam Friendphong nam
- Join date:
- May 2015
- Posts:
- 3779
- Downloads:
- 1
- Uploads:
- 587
- Thanks:
- 499
- Thanked:
- 974 times in 888 posts
October 23, 2013 at 5:57 pm #510016Hi meiser,
<blockquote>Is this the right way, to hidden the button in the print?</blockquote>
Yes. It is. You can use the overridden css styles to hide Print button on print preview.AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by phong nam 11 years, 1 month ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum