Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
2 ตอบกลับ
1886 มุมมอง

Hello,


I am new to Odoo and I have tried making a 2 columns layout with one side an image and the other side a text. I chose the columns layout instead of the gris as the grid was messing with my image ratio (I need it to keep the original ratio)

My 2 columns are fine, but I would like to add a space in between so my text is not sticking to my image. How can I do it?


Thank you.


Cheers,

Cyril

อวตาร
ละทิ้ง
ผู้เขียน คำตอบที่ดีที่สุด

Thank you for the answer but I am not sure where to put that code.

Maybe I should have mentioned that I am using the web hosted version.

อวตาร
ละทิ้ง
คำตอบที่ดีที่สุด

Hi,

Try the code

/* Add spacing between columns */
.image-column {
    margin-right: 20px; /* Adjust the value as needed */
}

.text-column {
    margin-left: 20px; /* Adjust the value as needed */
}


Hope it helps

อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
1
ธ.ค. 24
4202
Colimn invisible แก้ไขแล้ว
1
พ.ย. 19
2817
1
เม.ย. 25
875
0
มี.ค. 25
738
0
มิ.ย. 24
968