Print Layout

Home Forums Receptar Print Layout

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #16133

    akhummel
    Participant

    Print Layout

    Resolved

    Is there a possibility to change the print layout (pages), because it prints only a small column.

    I tried in (child) footer.php at the end:

    <style>
    @media print {
    header, div.entry-media, footer {display:none}
    article {width:100%; max-width:100%; border-bottom:0px; margin:auto;height:auto;}
    }
    </style>

    Thanks!

    #16139

    Oliver Juhas
    Keymaster

    Hi,

    I’m sorry, but the theme does not contain any print styles. You will need to add those on your own via your child theme.

    I don’t suggest outputting styles directly into the HTML footer. The best way would be to create a dedicated print stylesheet and put all your print styles there. You can then enqueue the stylesheet using WordPress native function, the wp_enqueue_style() (there are code examples of how to use that function in your child theme‘s functions.php file).

    You can read more about print stylesheet in these resources:

    Hope this will help you create a print styles you need.

    Or maybe try to use some plugin, if there is some?

    Regards,

    Oliver

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.