test
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • meiser Friend
    #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


    1. sreen
    meiser Friend
    #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 ;
    }

    }


    1. screen1
    phong nam Friend
    #510016

    Hi 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.

Viewing 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