Skip to:
Content
Pages
Categories
Search
Top
Bottom

Won’t recognize print stylesheet


  • kannued
    Participant

    @kannued

    Hello

    I have a print stylesheet that will eliminate my left and right columns. But when I go to print preview, it appears to ignore my “print.css”. How do I get it to recognize it?

    http://www.canadianbookclubs.com/bkrv/

    To call it, I use

    <link rel=”stylesheet” type=”text/css”

    media=”print” href=”<?php option( ‘uri’ ); ?>my-templates/CdnBookClubsBKRV/print.css” />

Viewing 3 replies - 1 through 3 (of 3 total)
  • That’s a problem with your browser/html/printing thing, not to do with bbPress. I’m not sure how to fix it though, sorry.


    chrishajer
    Participant

    @chrishajer

    The stylesheet is found perfectly fine, path is OK and it’s linked properly (in FF on XP anyway) but the problem with the sheet is you didn’t style the items you don’t want to print. So, they are just unstyled but will still print. You need to do a display: none; for the elements you don’t want to print for it to work (I think.)

    http://erraticwisdom.com/2007/01/22/css-printing-guide


    kannued
    Participant

    @kannued

    Of course! I forgot about that. Thank you ChrisHajer.

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

You must be logged in to reply to this topic.