I am using Bootstrap v4.3.1 but I did change on the bootstrap.min.css file
all the display:flex;
replace by display:block;
because flex not working fine on printing mode on firefox .. anyway after changing this line any row class cannot be center even if I used justifice-content-center.
I think the reason because row class is block not flex so how do I center the content of row when its block?
<div class="container">
<div class="row">
<div class="col-sm">
1
</div>
<div class="col-sm">
2
</div>
<div class="col-sm">
3
</div>
</div>
</div>
update #1 Just to make it clear I am using edited Bootstrap as following
<link rel="stylesheet" media="print" href="'css/Editedbootstrap.css" />
so it's only on printing mode,see the following post to get more information on what type of problem I am facing