One of the issues that I have stumbled upon while working on wkhtmltopdf is are the page-break-after css style doesn’t get applied on the generated PDF. I was using this code @media print { .new-page { page-break-before: always; } } the simple splution to this is to not include the css style under the @media print styling, so just add…
Category: CSS
Gravity Forms – Footer White Space
The other day, I created a new form on a website that I was working on, I have been using Gravity Forms for years and I have never experience that upon embedding the form, a big white space right below the form is showing up. And when you look at the code you will a <br> codes being generated Apparently,…
WordPress – Hiding the Menu Bar on Specific Pages and Posts
There are times that I get weird requests from clients, like this one. One of my clients ask me to create a page that doesn’t have a menu bar. He wants it gone only in one specific page. Good thing we can achieve that with a simple CSS code. So what you need is get the unique ID of your…