Odoo Help


website_less no horizontal element placement

4eBusiness GmbH
on 8/6/15, 5:02 AM 954 views

If you install website_less for theme_clean or other themes, no horizontal element placement / sorting is possible. The css class oe_vertical is not added to the columns.

The Problem is in the javascript file "website.snippets.editor.js" in Line 532

var float = window.getComputedStyle(this).float;

float is undefined, but it should be left or right.


self.$wrapwrap.find(child_selector).each(function (){

var $zone = $(this);

var vertical;

var float = window.getComputedStyle(this).float;

if (float === "left" || float === "right") {

vertical = $zone.parent().outerHeight()+'px';


var $drop = zone_template.clone();

if (vertical) {

$drop.addClass("oe_vertical").css('height', vertical);


$zone.find('> *:not(.oe_drop_zone):visible').after($drop);




Can you please explain, what that means practically? As a 50 Themes Pack Supporter heavily using different themes for different customers, I'm very interested in it.

Ermin Trevisan
on 8/8/15, 9:12 AM
4eBusiness GmbH
On 8/8/15, 9:44 AM

if you compare the odoo default theme behavior


for example with the clean_theme behavior


you see that horizontal ordering isn´t possible.

About This Community

This platform is for beginners and experts willing to share their Odoo knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers.


Odoo Training Center

Access to our E-learning platform and experience all Odoo Apps through learning videos, exercises and Quizz.

Test it now

Question tools

1 follower(s)


Asked: 8/6/15, 5:02 AM
Seen: 954 times
Last updated: 8/8/15, 9:44 AM