Tagged: 

Viewing 13 posts - 1 through 13 (of 13 total)
  • Author
    Posts
  • #419567

    Hi there. Sorry if this has been answered somewhere else. I searched but haven’t found an answer.

    When I “print preview” a page from a site running Enfold, the sidebar is hidden (which is great) but the main content does not expand to fill the entire width of the page. It’s as if the sidebar area is still being included, just not printed. How would I make the content fill the printed page?

    Thanks!

    #419571

    Actually, I figured this out. I’m going to enqueue my own print.css file with the following so the content is full width, the meta bar across the top is hidden and the share bar is hidden as well.

    #top #main main{ width: 100%; }
    footer.entry-footer { display: none; }
    div#header_meta { display: none; }

    Can you help me figure out why the header is so tall on this site, though? I’ll include the URL in separate private reply.

    #419573
    This reply has been marked as private.
    #419781

    Hi!

    I’m not entirely sure what you mean by the header being tall, could you please provide us with screenshots highlighting the issue?

    Best regards,
    Rikard

    #420092
    This reply has been marked as private.
    #421285

    Hi!

    Try to adjust the header height on print view with this on Quick CSS field or custom.css:

    @media print { 
     /* All your print styles go here */
    	#header {
    	height: 20px;
    	padding: 0;
    	margin: 0;
    	}
    }

    Regards,
    Ismael

    #421298

    Hi!

    Add this in /enfold/css/print.css.

    #main { padding-top: 0px !important; }
    

    Cheers!
    Elliott

    #512498

    Hi!

    I dont care about the header, but I want to print the content on full page.

    I tried to add to /enfold-child/css/print.css

    
    #top #main main{ width: 100%; }
    footer.entry-footer { display: none; }
    div#header_meta { display: none; }
    
    #512631

    Hey,

    What problems are you facing? Please link to your site so that we can have a look at it.

    Thanks,
    Rikard

    #512665

    I am faceing the same problem like kevinmcgillivray initially did.

    When I “print preview” a page from a site running Enfold, the sidebar is hidden (which is great) but the main content does not expand to fill the entire width of the page. It’s as if the sidebar area is still being included, just not printed. How would I make the content fill the printed page?

    #513218

    Hi!

    try to add this code into print.css:

    main.content.av-content-small.alpha.units {
    width: 100%;
    }
    

    Regards,
    Andy

    #513259

    thank you

    110% works best for me

    #513530

    Hi,

    Great, glad you got it fixed :-)

    Best regards,
    Rikard

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