Skip to:
Content
Pages
Categories
Search
Top
Bottom

Re: Need Help with Print CSS for Buddypress. PLEASE help.


Pisanojm
Participant

@pisanojm

@mercime First of all THANK YOU!

I’m 95% of the way there! Items 2 and 3 completely resolved with your above.
Item 1 still doesn’t appear… Any other thoughts?

Here is what I currently have:

/* > Print Styles MusicPLN.org BP


*/

@media print {
body {
background: #CEDAF4;
font-size: 10px;
font-family: Arial, Tahoma, Verdana, sans-serif;
color: #555;
width: 100%;
margin: 0 auto;
}

#sidebar { display:none !important;}
#header { display:none !important;}
#wp-admin-bar {display:none !important;}
#footer { display:none !important;}
#nav { display: none !important;}
#omit { display:none !important;}
#whats-new-form { display:none !important;}
#whats-new-options { display:none !important;}
#whats-new-submit { display:none !important;}
#sub-nav {display:none !important;}
div.item-list-tabs { display: none !important; }

#container {
padding-top: 100px;
background: #CEDAF4 url(http://musicpln.org/wp-content/uploads/2010/06/HEADERprint.jpg) top center; }

div#content .padder {
margin-right: 0px; border-right: 0px; }

#content{
width:100%;
margin:0;
font-size: 7pt;
float:none;
}
#content a { font-weight:bold;
color:#000066;
text-decoration:underline; }
h1, h2, h3, h4, h5, h6 { page-break-after:avoid;
page-break-inside:avoid; }
h3 { margin-left:2px;
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 2px;
display: inline; }
img.left { padding: 4px;
margin: 0 2px 2px 0;
display: inline; }
.right { float: right; }
.left { float: left; }
img { page-break-inside:avoid;
page-break-after:avoid; }
}

Skip to toolbar