• Resolved osirion

    (@osirion)


    Hi Guys,
    Working as it should when I dont use the theme CSS option in settings. However, very ugly cos theres no formatting.
    Then I enable that option, and try print:
    2 blank pages

    So I know Im using custom fonts for all the fonts, so I set the ‘custom print page style’ to include the fonts using…
    @import url('http://fonts.googleapis.com/css?family=Exo');
    @import url('http://fonts.googleapis.com/css?family=Roboto');
    @import url('http://fonts.googleapis.com/css?family=Patua+One');

    Still, prints 2 blank pages. Any thoughts?

    https://ww.wp.xz.cn/plugins/print-o-matic/

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Baden

    (@baden03)

    link please

    Thread Starter osirion

    (@osirion)

    Im not sure if this direct link will work, otherwise go to ‘book a flight’ and then order a flight from Jeep Warrior Race as the print button is on the final page of the checkout page.

    http://goatsafrica.co.za/index.php/checkout/order-received/273/?key=wc_order_55eab4ff03653

    Username: temp
    Password: temp123

    Plugin Author Baden

    (@baden03)

    Internal Server Error
    you say it prints 2 blank pages… are you sure they are blank, could it be that the font is white on a white background?

    Let us know when the server is back online and we’ll check it out.

    Thread Starter osirion

    (@osirion)

    Hey, seems to be working again. I dont think its white text because the site doesnt use white font nor does it show if I select all on the print preview.

    Plugin Author Baden

    (@baden03)

    Hmmm… ok then. Issue resolved.

    Thread Starter osirion

    (@osirion)

    Ok great, so the text is showing up now at least – but its not applying the theme CSS etc?
    I’d basically like it to look as close to the web page itself as possible (without the header/footer of course).

    Plugin Author Baden

    (@baden03)

    OK, so you have a couple of options:
    1. if you include the site CSS it will include this file… however, since you are targeting only a specific element, CSS rules that reference your target’s parent elements will not be applied. For example:

    Layout

    <div id="big_daddy"><div class="little_joe">Target Content</div></div>

    CSS

    #big_daddy .little_joe {
        color: #333333
    }

    Shortcode

    [print-me target=".little_joe"]

    The above print page would NOT applay the color of #333333 because it’s parent element is not included in the target.

    So far so good? Good.

    Your options at this point would be to:
    a) add the css you need to match the display page to the Print Page Custom CSS section of the plugin’s option page.
    b) Upgrade to Print-Pro-Matic and create a custom print-only css file and link to this using the css_url attribute.
    c) Upgrade to Print-Pro-Matic and then create a custom print template and tell the plugin to use this template using the print_view query argument so.

    Thread Starter osirion

    (@osirion)

    Thanks 🙂

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

The topic ‘Text not showing on Theme CSS Enabled’ is closed to new replies.