简体   繁体   中英

Changing column layout css

I am currently working on this website page: 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.

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.

Add this to your CSS

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

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