[Resolved] Print across the entire page

Home Forums Support [Resolved] Print across the entire page

Home Forums Support Print across the entire page

Viewing 8 posts - 1 through 8 (of 8 total)
  • Author
    Posts
  • #1264741
    Rui

    Hi!

    When I try a print preview of any post on my site (such as the url provided for admins) it does not occupy the entire page, as I wish.

    I am using the following print style:

    
    @media print {
    
    	.side-header,
    	.sidebar,
    	.main-navigation,
    	.widget-area,
    	.adsbygoogle,
    	.footer-widgets {
    		display: none !important;
    	}
    
    	body {
    		background: #fff !important;
    		color: #000;
    	}
    
    }
    

    What I need to do for the content to be printed span across the entire width of the page?

    Thank you all!

    #1265540
    Tom
    Lead Developer
    Lead Developer

    Hi there,

    Here’s what I’m seeing right now: https://www.screencast.com/t/5zo2XvgHilO

    Are you seeing different?

    #1265643
    Rui

    Hi Tom.

    Yes, for me it’s different: https://www.zenite.nu/page1.jpg
    I´m using Firefox 75.0 (64 bits).

    #1266424
    Tom
    Lead Developer
    Lead Developer

    What if you add this to your media query?:

    .content-area {
        width: 100%;
    }
    #1266583
    Rui

    It got wider, but it still doesn’t occupy the whole page.
    See: https://www.zenite.nu/page2.jpg
    Weird, isn’t?

    #1266854
    Tom
    Lead Developer
    Lead Developer
    #1266890
    Rui

    Wow! It’s much better now. Thank you!

    #1267722
    Tom
    Lead Developer
    Lead Developer

    You’re welcome 🙂

Viewing 8 posts - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.