使用外掛:Elementor + Table Addons for Elementor

設定表格CSS ID之後 (這邊範例設定:industry-table)

貼上以下代碼即可

#industry-table{
    overflow-x: scroll;
    overflow-y: hidden;
    position: relative;
    /*overflow: hidden;*/
    touch-action: auto;
}

.industry-table{
    touch-action: auto;
    -webkit-overflow-scrolling: touch;
}

#industry-table table {
    width: 100% !important;    
}

@media (max-width:767px) {
	#industry-table table {
		width: 600px !important;  
	}
}
最後修改日期: 2022 年 10 月 17 日

作者