简体   繁体   English

更改列布局 css

[英]Changing column layout css

I am currently working on this website page: https://no.aproposonline.dk/brugte-biler/我目前正在这个网站页面上工作: https://no.aproposonline.dk/brugte-biler/

as it is right now the page splits the search results into 2 columns, however i would like it to be split into 3, which is proving rather difficult.因为现在页面将搜索结果分成 2 列,但是我希望它被分成 3 列,这被证明是相当困难的。

I have tried column-count:3 which does not work, it seems as if on columns is two rows, which I don't really know how to fix.我试过column-count:3不起作用,好像列上有两行,我真的不知道如何解决。

Add this to your CSS将此添加到您的 CSS

@media (min-width: 1200px) {
.bdt .col-lg-4 {
    flex: 0 0 30% !important;
    max-width: 30% !important;
}
}

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM