Skip to Content
Меню
Вам необхідно зареєструватися, щоб взаємодіяти зі спільнотою.
Це запитання позначене
2 Відповіді
1852 Переглядів

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
4154
Colimn invisible Вирішено
1
лист. 19
2738
1
квіт. 25
821
0
бер. 25
692
0
черв. 24
925