custom print styling no longer working in child theme

  • stephenwiggs


    When I created a child theme, I include print styling in my style.css file by using @media print and until today it has worked perfectly. Now it is not.

    I did install two plugins (GTranslate by Edvard Ananyan and Table of Contents Plus by Michael Tran) which both work perfectly on my book blog, so I don’t think that is the problem. The child stylesheet still loads last anyway.

    My child theme stylesheet is here:

    I’m stumped, but I’m pretty sure it’s something simple.




    Syahir Hakim


    Hmm..not sure, as I’ve never tried to use print CSS this way, but in theory it should work. Try serving the print CSS as a separate file?


    Kenneth John Odle


    I think I tried that. I added @import url("print.css") print; to my child theme css and then included the print definitions as a separate print.css file. But it didn’t work.

    So I left it in the style.css, but then added it back into the custom CSS of Graphene options and it works again. So it’s not something in the code; it’s just something weird.



Viewing 3 posts - 1 through 3 (of 3 total)

  • You must be logged in to reply to this topic.