コンテンツへスキップ
メニュー
この質問にフラグが付けられました
2 返信
1837 ビュー

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

アバター
破棄
関連投稿 返信 ビュー 活動
1
12月 24
4135
1
11月 19
2728
1
4月 25
809
0
3月 25
686
0
6月 24
913