Custom Formatting of Print Output
-
Hi,
Hopefully an easy question.Firstly, I love the plugin and it is so easy to get started, however…
How do I modify the print output page style? I want to increase the font size on the printer output (but not the screen)
I’m assuming that /print-o-matic/css/styles.css is where I need to go.
I’ve tried modifying the css as follows:
@media print { // existing css .pe-no-print { display: none !important; } .pe-preserve-ancestor { display: block !important; margin: 0 !important; padding: 0 !important; border: none !important; box-shadow: none !important; } // my css div, form, p, input { margin-left:15em; color:#000066; font-size:20pt; float:none; width:auto; } }
This seems to have no effect. When I select print, the print preview window is not affected by anything I seem to do.
Do you have any code examples I can access? Am I modifying the right file?
The css samples and references in your documentation appear to refer to the styling of the [Print Me] link on the webpage, not the printer output.
I’m using Print-O-Matic 2.1.7, Divi 4.17.4 & WordPress 6.0
I’m printing selected html elements by #id – this works well
The elements are <input> elements wrapped in nested <div>’s – hence my css attemptALSO – while I’m here.. I’ve tried using the tag=”span” option in the shortcode but it seems to have no effect. The print Title and Icon always use <div>
I’m using the following shortcode
[print-me tag="span" target="#et_pb_contact_reason_0, #et_pb_contact_single_0, #et_pb_contact_fname-1_0, #et_pb_contact_lname-1_0, #et_pb_contact_membership-number_0" title="Print Covering Note for Envelope"/]
Thanks in advance, Jerry
The page I need help with: [log in to see the link]
- The topic ‘Custom Formatting of Print Output’ is closed to new replies.