Skip to:
Content
Pages
Categories
Search
Top
Bottom

PRINTING Buddypress


  • Pisanojm
    Participant

    @pisanojm

    Doesn’t seem like there are any good plugins (or way to print) at all to deal with printing the activity stream, groups, or forums in BuddyPress
    I’m trying to have a custom PRINT CSS that excluded the admin-bar and also the STATUS UPDATE BOX from the activitystream/community page….

    So here is what I have so far…based on the WordPress Codex page… despite my inclusion of the #wp-admin-bar display none it still printing… any help would be appreaciated.

    /* Print */

    @media print {
    body {background:white;
    font-size:10pt;
    margin:0 }
    #sidebar { display:none }
    #header { display:none }
    #wp-admin-bar {display:none}
    #content{ margin-left:0;
    float:none;
    width:auto }
    .demo .red { color:black;
    font-weight:bold }
    #content a { font-weight:bold;
    color:#000066;
    text-decoration:underline }
    #content{ margin-left:0;
    float:none;
    width:auto }
    #footer { display:none }

    h1, h2, h3, h4, h5, h6 { page-break-after:avoid;
    page-break-inside:avoid }
    h3 { margin-left:10px;
    margin-bottom:0px;
    padding-bottom:0px }
    blockquote, table, pre { page-break-inside:avoid }
    ul, ol, dl { page-break-before:avoid }
    img.centered { display: block;
    margin-left: auto;
    margin-right: auto; }
    img.right { padding: 4px;
    margin: 0 0 2px 7px;
    display: inline; }
    img.left { padding: 4px;
    margin: 0 7px 2px 0;
    display: inline; }
    .right { float: right; }
    .left { float: left }
    img { page-break-inside:avoid;
    page-break-after:avoid; }
    }

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

  • modemlooper
    Moderator

    @modemlooper

    #wp-admin-bar {display:none !important}

    Try that not sure about print CSS. I never really worry about it. Usually people use this for specific pages to format it for a page size. Like a receipt after a purchase.


    Pisanojm
    Participant

    @pisanojm

    Thanks, I’m not really sure if the #wp-admin-bar is the right choice… maybe there is another to try?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘PRINTING Buddypress’ is closed to new replies.
Skip to toolbar