Bootstrap Grid system not working in quarto. #5736
-
DescriptionI'm using bootstrap classes to implement a rather specific layout for a page within a quarto book, but the grid system doesn't seem to be working. This code for example: ```{=html}
<div class="container">
<div class="row">
<div class="col">
1 of 2
</div>
<div class="col">
2 of 2
</div>
</div>
<div class="row">
<div class="col">
1 of 3
</div>
<div class="col">
2 of 3
</div>
<div class="col">
3 of 3
</div>
</div>
</div>
``` does not render properly in quarto. Other bootstrap features work fine as far as I can tell. Thanks. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
Quart uses bootstrap CSS grid based system, which is slightly different than the flex box version from previous versions. More here: https://getbootstrap.com/docs/5.1/layout/css-grid/ lmk if this gets you going! |
Beta Was this translation helpful? Give feedback.
-
FYI, duplicate of #2841 |
Beta Was this translation helpful? Give feedback.
Quart uses bootstrap CSS grid based system, which is slightly different than the flex box version from previous versions. More here:
https://getbootstrap.com/docs/5.1/layout/css-grid/
lmk if this gets you going!