Answer by Christine Wilson for Bootstrap grid for printing
Based on Fredy31's answer using Bootstrap's exact widths and removing repetition of float left.[class^="col-print"] {float:left;}.col-print-1 {width:8.33333333%;}.col-print-2...
View ArticleAnswer by Daniel Iftimie for Bootstrap grid for printing
For Bootstrap 4 sass here are some snippets that I applied across several projects. These are making adjustments on:Grid (follows the LG breakpoint)Spacers (rewrite all below LG...
View ArticleAnswer by Rusca8 for Bootstrap grid for printing
If it's just one line of text in two columns you can use the accepted answer here.
View ArticleAnswer by Ganesh Koilada for Bootstrap grid for printing
Instead of recreating with new column names like .col-print-1 , .col-print-2 , write a media query which will be enable while printing the document. @media print {...
View ArticleAnswer by Rui Caramalho for Bootstrap grid for printing
For Bootstrap 4 (using SASS)@each $breakpoint in map-keys($grid-breakpoints) { @include media-breakpoint-up($breakpoint) { $infix: breakpoint-infix($breakpoint, $grid-breakpoints); @for $i from 1...
View ArticleAnswer by seflix for Bootstrap grid for printing
If you only have 2 columns, you can try it. I fixed it with the code below.<div class="row"><div class="w-50 p-3 float-left"> </div><div class="w-50 p-3...
View ArticleAnswer by William Schroeder McKinley for Bootstrap grid for printing
And the SASS version of Ehsan Abidi's answer using MiCc83's answer: @for $i from 1 through 12 { .col-sm-#{$i} { width: #{percentage(round($i*8.33)/100)}; float: left; } }I prefer this because I always...
View ArticleAnswer by Ehsan Abidi for Bootstrap grid for printing
If you want the Bootstrap's grid do not print with col-xs (mobile settings) , and want to use col-sm-?? instead , Based on Fredy31 answer and you don't even need to define col-print-??. simply rewrite...
View ArticleAnswer by kspearrin for Bootstrap grid for printing
The following works great to create grid elements specific for print media. Using Bootstrap 3.@media print { .make-grid(print);}Then you can use all the grid col elements with the print keyword. Ex:...
View ArticleAnswer by Alessandro Benoit for Bootstrap grid for printing
The Sass version of Fredy31 solution:@for $i from 1 through 12 { .col-print-#{$i} { width: #{percentage(round($i*8.33)/100)}; float: left; }}
View ArticleAnswer by Fredy31 for Bootstrap grid for printing
What I did was to manually recreate those columns classes in my print css..col-print-1 {width:8%; float:left;}.col-print-2 {width:16%; float:left;}.col-print-3 {width:25%; float:left;}.col-print-4...
View ArticleAnswer by firepol for Bootstrap grid for printing
I had a similar problem, for me the easiest solution was to manually modify the width for elements I wanted to appear differently when printed (and I added a specific class -in my case:...
View ArticleAnswer by Edgar for Bootstrap grid for printing
Maybe you could use Bootstrap 2. If you are familiar with Bootstrap 2, then you can use it as an alternative, as this offers non responsive CSS. Bootstrap 2 was not mobile first, you had to add an...
View ArticleAnswer by Dwza for Bootstrap grid for printing
Your switch styles like this<div class="row"><div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div><div class="col-xs-6 col-md-4">.col-xs-6 .col-md-4</div><div...
View ArticleBootstrap grid for printing
I would like to design a report page with a different layout for printing to mobile. I am using bootstrap v3. It seems the grid can't differentiate between the two as the breakpoint for printing is the...
View Article
More Pages to Explore .....