Zum Inhalt springen
Menü
Sie müssen registriert sein, um mit der Community zu interagieren.
Diese Frage wurde gekennzeichnet
2 Antworten
1917 Ansichten

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

Avatar
Verwerfen
Autor Beste Antwort

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.

Avatar
Verwerfen
Beste Antwort

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

Avatar
Verwerfen
Verknüpfte Beiträge Antworten Ansichten Aktivität
1
Dez. 24
4235
1
Nov. 19
2834
1
Apr. 25
965
0
März 25
758
0
Juni 24
1000