• First of all, let me give you big thanks for making this plugin available, well-done :).
    I went through your documentation to see if I could get this issue short it but without luck here I am asking some silly questions 🙂 – Apparently the pdf generator leaves a big gap on the footer ( I’ve setup the functions for A4 and also I’ve added the height + added the css you have mention on the docs) but still I can’t get rid of the big gap (please see image link attached) – could you please help me out. Thank you

    https://www.dropbox.com/s/seqxm11ihmv2dqh/Screen%20Shot%20on%202017-02-21%20at%2017%3A26%3A36.png?dl=0

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Nuno Sarmento

    (@nunosarmento)

    I forgot to mention, I am using a custom template with some custom code for pulling a WP page, the below code is under the footer div.

    <div class="terms">
    	<?php
    
    	$page = get_posts( array( 'name' => 'terms-and-conditions' , 'post_type' => 'page') );
    
    	if ( $page )
    	{
    	    // echo $page[0]->post_content;
    			$getPost = $page[0]->post_content;
    			$postwithbreaks = wpautop( $getPost, true/false );
    			echo $postwithbreaks;
    	}
    
    	?>
    </div>
    Plugin Contributor Ewout

    (@pomegranate)

    Hi! It’s a bit difficult to know the exact cause since you’re using a custom template.
    The footer is normally positioned in the page margins, with a negative bottom value. If you made changes to the footer styles, this could have affected that too. You can adjust the page margins, the height of the footer element or the positioning of the footer element. It’s also possible that you have a lot of line breaks after the footer text which would stretch the footer too.

    Let me know what you find!

    Ewout

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

The topic ‘Margin on the footer’ is closed to new replies.