no follow tag - footprint

ตั้งค่าแถวบนล่างให้ชิดขอบใน The7

ใช้งาน The7  มาทำไมแถวบนสุดกับล่างสุดไม่ชิดขอบนะ มีวิธีแก้ครับ ง่าย ๆ

ค่าเริ่มต้นของธีม the7 จะมีค่า  margin-top, margin-bottom:50px;

padding

แก้ไขได้โดยตอนใส่ Visual Composerให้ใส่ค่า -50 Top marginที่แถวแรก and -50 Bottom margin ที่ แถวสุดท้าย

minus-marginช่องว่างก็จะหายไป

without-padding

การระบุ CSS

เราสามารถเขียน css เพื่อกำหนด margin ของเว็บไซต์ได้ที่ Theme Options > General > Custom CSS
โดยใช้ css ดังนี้:

#main{
padding-top: 0;
padding-bottom: 0;
}

ปล ถ้าคุณใช้เทมเพลตหน้าแบบ Microsite คุณต้องใส่ css เองที่หน้านั้น ๆ เพราะ  หน้า microsite  จะไม่อ่าน css จาก Theme Options > General > Custom CSS

CR. http://support.dream-theme.com/knowledgebase/remove-gap-above-and-below-content-area/

About the author