testing page breaks for printed elements
authorAnthony Talarico <talarico@gaslightmedia.com>
Thu, 28 Jan 2016 19:07:06 +0000 (14:07 -0500)
committerAnthony Talarico <talarico@gaslightmedia.com>
Thu, 28 Jan 2016 19:07:06 +0000 (14:07 -0500)
css/app.css
scss/_wordpress.scss

index 473a651..4a7ea47 100644 (file)
@@ -6209,9 +6209,11 @@ img.alignleft {
   #addthis_wrapper, #copyright, #respond, #blog-side-info-wrapper, #footer_address, #action-items, #crumb-line, .no-featured, aside, header, nav, footer {
     display: none; }
   #blog-posts-over, #blog-posts-over p {
-    page-break-before: auto;
-    page-break-after: auto;
-    page-break-inside: avoid; } }
+    page-break-before: always; }
+  img {
+    page-break-before: always; }
+  h1, h2, h3, h4, h5, h6 {
+    page-break-before: always; } }
 
 h1, h2, h3, h4, h5, h6 {
   clear: both; }
index 1af3725..932cf6b 100644 (file)
@@ -237,10 +237,15 @@ img.alignleft, img.alignright, img.aligncenter, img.alignnone, div.wp-caption im
         display: none;
     }
     #blog-posts-over, #blog-posts-over p{
-//        margin-top: -300px;
-        page-break-before: auto;      
-        page-break-after: auto; page-break-inside: avoid; 
+        page-break-before: always;
     }
+    img{
+        page-break-before: always;
+    }
+    h1, h2, h3, h4, h5, h6{
+        page-break-before: always;
+    }
+    
 }
 
 // End Search and Posts