Support » Plugin: CleanPrint » CleanPrint rearranges layout of content in shortcodes

  • Resolved StefExakt


    Hey There,

    I really think this is a great plugin, however, I am having some issues.
    When I try to print certain pages of my site, the content is rearranged. This is most apparent on two pages of my site that have content contained in a “toggle” shortcode. While I was pleasantly surprised that your plugin pulls the content of each “toggle section” even if its not “open”, it rearranges how the text lays out, scrambling the message of the content.

    For example, on my About page the title of my second toggle section appears at the very top of the printed page, and not at all connected to that toggle section’s text content.

    My site has a coming soon page up, I can provide you login details via email ( if you think you may have a solution.

    Thanks, I would also take a recommendation on another printer plugin if you know of one that may work better.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author johncadams


    Did my suggestion work for you?


    Your suggestion did work! Thank you so much for the suggestion and the quick timing!

    For other users with the same problem, here was how I resolved the issue:

    The issue I had with the titles not appearing at all was a spacing issue of the shortcode itself and had nothing to do with the printer plugin. Once I removed the extra spaces in the shortcode the titles appeared.

    However, the title of my second toggle shortcode was appearing as the page title and not appearing for the title of that section (in the print view). To solve this I needed to add a class of cleanprint-title to the div that controls the page title in the page template itself.

    This div was in my header.php
    So I changed this line:
    ‘<div class=”page_title_content”>’
    to this:
    ‘<div class=”page_title_content cleanprint-title”>’
    and voila! My page title shows up at the top of the print page, and my toggle title shows up where it is supposed to!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘CleanPrint rearranges layout of content in shortcodes’ is closed to new replies.