Need Help with Print CSS for Buddypress. PLEASE help.
-
Ok, It seems like I’m almost there, but I’m not and I need help to figure this out the rest of the way…
You can see this here -as to what I need to accomplish: http://mustech.net/miscpicts/Printcssbp.jpgI would like a PRINT CSS that basically does the following:
Omits the Header and allows a graphic to be centered above all…
Omits the Sidebar
Omits the Footer
Omits all Navigataion
Displays the Content of each page minus above.Here is what I have and it kind of works as a media print CSS:
/* > Print Styles MusicPLN.org BP
*/@media print {
body {
background: #CEDAF4 url( ‘http://musicpln.org/wp-content/uploads/2010/06/HEADERprint.png’ ) top center;
font-size: 12px;
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}
#sidebar-me {display:none}
.main-column {display:none}#container {
width: 100%;
border-bottom: 5px solid #e0e0e0;
}#content{
width:100%;
margin:0;
font-size: 8pt;
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; }
}
- The topic ‘Need Help with Print CSS for Buddypress. PLEASE help.’ is closed to new replies.