Styling header and
-
Love your plugin. Thanks so much for bringing it to the WordPress community.
I have a few “nits” to iron out. Frustratingly, they are related to CSS and that should be the easy part.
I’ve created my custom template, including the featured image and some new fonts. The template is finding and publishing all the custom fields for my custom post type.
Where I am hung up is styling the header and changing the PDF icon out for an image that my clients want on the submit.
I have the image displaying but I cannot make the text on the link disappear and I don’t know where it is in your plugin. Here is my CSS:
a.pdfbutton { text-indent: -9999px !important; background: url(images/wsg-print-pdf.png) no-repeat !important; width: 115px; height: 30px; z-index: -999; }
Even with that, I had to modify the image reference in the plugin itself, which rather surprised me. If you can tell me how to tweak this small thing, I’d be very appreciative.
I’m also unhappy with the header area. After eliminating the page top with the page number, there still is a tremendous amount of white space before the header text prints. I’d like to add their logo to that area too and, despite my efforts, I am not getting where I’d like to be so I thought I’d write and ask how one would go about actually styling that area of the PDF. If you’d be so kind, I would be quite grateful.
There is also a lot of padding around paragraphs that is wasting space on the page. I’ve only begun to play with this so I’m not ready to “cry uncle” just yet.
Again, thanks for this plugin. I fussed with no less than 6 different plugins before finding yours last night. None are as easy to tweak for Custom Post Types and Custom Fields as yours seems to be. My only concern is that an upgrade will wipe out my work because I’m actually changing code in the plugin itself, like the mPDF configuration and now the image for the print submit request. Should I be moving these files into another folder so they are preserved when you update the plugin?
Thanks, in advance, for your support.
- The topic ‘Styling header and’ is closed to new replies.