Support » Plugin: DK PDF » Has anyone gotten CSS working?

  • Nothing I do will make any CSS show up in the PDF at all. Nothing. I’ve tried putting is in the settings page. I’ve tried putting it directly in the template <head> no styling of any kind no matter what I do.

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hi @takeok,

    I had some trouble with this too, at first. The only way I was able to manage to get the CSS working was to be very simple with my selectors. For instance, I use Enfold and could not target #professionals .container .template-page .flex_column.first .av-special-heading h1. I eventually tried a simplistic version of this targeting #professionals .first .av-special-heading h1 and was able to get the CSS working.

    Be as simple as possible.

    I hope that helps you. Good luck.


    I did some research, and it says that :nth-child(n+2) should work, but it does not, except in a table.

    Trying to add page-break-before property to all sections except the first one… pulling my hair out with this 🙁

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Has anyone gotten CSS working?’ is closed to new replies.