1 người đang xem

Admin

Nothing to lose.. your love to win..
Bài viết: 4165 Tìm chủ đề
4538 18
Hướng dẫn chia cột cho chuyên mục chính Xenforo. Nếu bạn muốn chia cột cho Sub Forum thì xem bài viết này:

Hướng dẫn chia cột Sub Forum Xenforo

Hướng dẫn:

Chèn đoạn mã CSS sau vào template Extra. Css của style cần sửa.

Thay tất cả width: 50% bằng số cột bạn muốn:

50%: 2 cột

30% :3 cột

25%: 4 cột

20%: 5 cột

Mã:
#loginBarHandle {
    display: none;
}
.node .nodeLastPost.nodeControls  {
    display: none;
}
.node .nodeText {
    margin-right: 10px!important;
}

.nodeList {
    overflow: auto;
}
.nodeList .categoryStrip {
    background-image: none!important;
}
.level_2 {
    width: 50%;
    float: left;
}
<xen:if is="@enableResponsive">
    @media (max-width:@maxResponsiveWideWidth) {
      .level_2 {
        width: 50%;
        float: left;
    }
    }

    @media (max-width:@maxResponsiveMediumWidth) {
      .level_2 {
        width: 50%;
        float: left;
    }
    }
@media (max-width:@maxResponsiveNarrowWidth) {
      .level_2 {
        width: 100%;
        float: left;
    }
    }
</xen:if>
 
Chỉnh sửa cuối:

Những người đang xem chủ đề này

Back