Skip to Content
Meniu
Trebuie să fiți înregistrat pentru a interacționa cu comunitatea.
Această întrebare a fost marcată
2 Răspunsuri
1799 Vizualizări

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

Imagine profil
Abandonează
Autor Cel mai bun răspuns

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.

Imagine profil
Abandonează
Cel mai bun răspuns

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

Imagine profil
Abandonează
Related Posts Răspunsuri Vizualizări Activitate
1
dec. 24
4113
1
nov. 19
2697
1
apr. 25
763
0
mar. 25
661
0
iun. 24
898