Forums

The forums ran from 2008-2020 and are now closed and viewable here as an archive.

Home Forums CSS @media print doesn’t work

  • This topic is empty.
Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #35488
    farzadina
    Participant

    I used @media print{} to make a custom print style for my theme, but it doesn’t work in Really print, or Print preview.
    Here is the blog.
    And Here is my default stylesheet.

    #92179
    farzadina
    Participant

    I also tried external Stylesheet for print, but that doesn’t worked too. What’s wrong?

    #92182
    Marie
    Member

    I think the problem lies in your source code;

    Remove the media=”screen”

    #92203
    farzadina
    Participant

    In my header I found that code, and changed media=”screen”. Now Print style work correctly in my Home page, but it doesn’t work in other. (posts, pages, etc.)
    I searched for another <... style-Red.css ... media="screen"/> but I couldn’t find anything in my theme folder.
    Can it be in somewhere else?

    #92950
    Marie
    Member

    Go into the HTML source code of every page and change media=”screen” to media=”all”.

Viewing 5 posts - 1 through 5 (of 5 total)
  • The forum ‘CSS’ is closed to new topics and replies.