bbPress

Simple, Fast, Elegant

bbPress support forums » Troubleshooting

Won't recognize print stylesheet

(4 posts)
  • Started 1 year ago by kannued
  • Latest reply from kannued
  • This topic is resolved
  1. kannued
    Member

    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" />

    Posted 1 year ago #
  2. 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.

    Posted 1 year ago #
  3. 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

    Posted 1 year ago #
  4. kannued
    Member

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

    Posted 1 year ago #

RSS feed for this topic

Reply

You must log in to post.

Code is Poetry.