Printing the contents of a Dynamic page

Options
Tony_G2
Tony_G2 Member Posts: 2

Hi Peeps,

I have a client that wants customers to be able to print the contents of a dynamic page without any web header and footer so that they can either create a PDF to send to their client or the client themselves can print it off at home..

Doc Ref: https://www.vanuatuisland.org/property-sheet/secluded-beachfront

Any ideas greatly appreciated.

(Just clocked over 200+ Duda sites, love this platform!)

Thank you

Tagged:

Comments

  • Aj_Cre8
    Aj_Cre8 Member Posts: 673 MVP
    Options

    So.. I have never done this, or seen it done in Duda. But I would think that you can add some CSS to the site.css folder for Printing Pages… I would look something like this.

    /* Custom Print Stylesheet for Duda */
    @media print {
    /* Hide header */ .site-header {
    display: none !important;
    }

    /* Hide footer */ .site-footer {
    display: none !important;
    }
    /* Adjust other elements as needed */}

    You would obviously make the .site-header and .site-footer classes the same as the header and footer on your website.

    FULL DISCLOSURE - You may want to test this on a dummy site before adding to your production site.

  • Tony_G2
    Tony_G2 Member Posts: 2
    Options

    Thanks so much will give it a try