• Hi,

    I use your plugin since years and it was actually always working great. Today I found out that the print output has a margin on the left side and I can’t find out where it comes from.

    You can have a look at an example page here https://staging16.vorlagenportal.at/dokumente/vereinbarung-eines-ausbildungskostenrueckersatzes/
    Just click on “Druck Erl?uterungen”

    I only print a certain <div> from that page (id = #printerlaeuterung)

    And I use this code in my template:

    <div id="printerlaeuterung">	
    		<div style="display:none;">
    
    		<?php echo do_shortcode(
          '[print-me id="my_print_button" printstyle="external" do_not_print=".noprint" url="%print_view%" /]'
      ); ?>
    </div>
    

    In the plugin settings I have some CSS but I already tried to remove it and had the same issue.

    I hope you can give me a hint.

    Thank you and br,
    Niko

    • This topic was modified 2 years, 4 months ago by NixXxon23. Reason: adjusted site links to staging environment

    The page I need help with: [log in to see the link]

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

    (@nixxxon23)

    p.S.: Downgrade to older version solved the issue. Still I would love to know where the issue comes from?!

    Would be awesome if you could have a look on the staging site: https://staging16.vorlagenportal.at/dokumente/vereinbarung-eines-ausbildungskostenrueckersatzes/

    Plugin Contributor twinpictures

    (@twinpictures)

    This is a bit tricky.
    the content element has a float: right and a fixt width.
    while this element is not printing, it is affecting the print target, as it’s getting it’s with from the parent element.

    It will need to be overwritten using either @media print css or by adding overriding css to the print css section in the plugin options. Try something like:

    #printerlaeuterung {
        position: absolute;
        width: 100%;
    }

    If you need more assistance in troubleshooting the CSS ping us back at info [at] twinpictures.de with a link back to this thread and we’ll see if we can get temp access to the staging site and help get this resolved.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Margin at the left side’ is closed to new replies.