Tutorial 2x Download button always on right side - Chuyển nút Download sang bên phải cho XenForo 2

PVS

Generalissimo
Thành viên BQT
Download button always on right side - Gắn nút Download luôn ở bên phải cho XenForo 2

Khi chưa gắn code thì sẽ có trường hợp sau:

dbaors_no_code.png

Sau khi thêm code vào:

dbaors_with_code.png

Như bạn thấy thì nút Download bây giờ sẽ luôn ở phía bên phải.

Để đạt được điều này, thêm đoạn code sau vào template extra.less của bạn:
Mã:
/*** Download button always on right side ***/
@media (min-width: @xf-responsiveMedium) {
    [data-template="xfrm_resource_view"] .p-title {
        flex-wrap: initial !important;
    }
}
/**********/

Chúc các bạn thành công.


Nguồn: xenforo.com​
 

Hướng dẫn sử dụng

XenForo 1 XenForo 2
Translate by PVS

Hỗ trợ trực tuyến

Support Quảng cáo
Mr. San (PVS)

Skype chat, instant message

Mr. Tuấn (Blue)

Skype chat, instant message

Mr. Tuấn
0988 488 096
Mr. Trọng
0906 081 284
kinhdoanh@vnxf.vn

Nhà Tài Trợ

Mút Xốp Không Gian
pallet Thịnh Phát
Điện Lạnh Thịnh Phát
Top