• Resolved mstudioIL

    (@mstudioil)


    I saw the examples but not sure I understand them, I need to add the shortcode and id?
    can I use class instead of id?
    How I control the look of the plugin?

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor twinpictures

    (@twinpictures)

    you need the shortcode, and yes, you can use and id like so:
    [print-me target="#the_target_id_goes_here"/]
    was that not clear in the documentation?

    Thread Starter mstudioIL

    (@mstudioil)

    Thanks, it was clear. I had little problem find it.
    I have other question, how I can print the site with is layout?

    Plugin Contributor twinpictures

    (@twinpictures)

    you would have to include the CSS.
    This might be a bit tricky if a) the CSS of the elements you want to print is coming from someplace other than your theme’s style.css file or b) the element being targeted is defined in the CSS using a parent element that is not included in the print target.

    In your case, simply try to Include Theme’s CSS file on the print page by checking the box in the settings under Dashboard > Settings > Print-O-Matic > Use Theme CSS

    Thread Starter mstudioIL

    (@mstudioil)

    Thanks for the answer, but if I use the theme CSS I getting empty page on the preview while if I do not use the theme CSS I getting preview but it is not look the site

    Plugin Contributor twinpictures

    (@twinpictures)

    In that case you need to add more pause before print time to let the css fully load. This is also explained in the documentation. Try using 2000 milliseconds as the pause before print value under Dashboard > Settings > Print-O-Matic.

    If you require further assistance, please provide a link to the page in question. Also, to assist in troubleshooting, turn OFF the close after print toggle on the plugin settings page.

    Thread Starter mstudioIL

    (@mstudioil)

    Thanks, the delay fix the problem, I need to set some of the CSS.
    Can I use classes from the theme and my custom classes? the plugin will know to use them?

    Plugin Contributor twinpictures

    (@twinpictures)

    if you want to adjust print-page CSS, you can add the CSS to the Custom Print Page CSS section of the plugin’s option page. You can use classes from your theme and custom classes, so long as they are elements that appear within your print-target element.

    If you are using the element inspector on Chrome or FireFox this should be easy to identify what CSS you want to define / overwrite.

    We’ll mark this issue as resolved (again). If you require further assistance. please open a new thread and be sure to include a link to the page in question.

    All the best!

    Thread Starter mstudioIL

    (@mstudioil)

    Great, thanks for the help

    Plugin Contributor twinpictures

    (@twinpictures)

    Glad we could help.
    If you are pleased with the plugin or its support, consider leaving a review!

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

The topic ‘Printing page content’ is closed to new replies.