Hi,
In your template index.php file, you should set the $divtopwidth value to ‘24.9%’ in case $topmodule equal 4.
if ( $topmodule == 4 ) {
$divtopwidth = '24.9%';
}else if ( $topmodule == 3 ) {
$divtopwidth = '33.3%';
} else if ($topmodule == 2) {
$divtopwidth = '50%';
} else if ($topmodule == 1) {
$divtopwidth = '100%';
}
To make top spotlight boxes equal height, open file ja_antares/scripts/ja.script.js, find function equalHeight and modify to:
function equalHeight (){
var obj1 = getElem ('ja-box1');
var obj2 = getElem ('ja-box2');
var obj3 = getElem ('ja-box3');
var obj4 = getElem ('ja-box4');
var maxh = 0;
if (obj1) maxh = obj1.offsetHeight;
if (obj2 && obj2.offsetHeight > maxh) maxh = obj2.offsetHeight;
if (obj3 && obj3.offsetHeight > maxh) maxh = obj3.offsetHeight;
if (obj4 && obj4.offsetHeight > maxh) maxh = obj4.offsetHeight;
if (obj1) obj1.parentNode.style.height = maxh + "px";
if (obj2) obj2.parentNode.style.height = maxh + "px";
if (obj3) obj3.parentNode.style.height = maxh + "px";
if (obj4) obj4.parentNode.style.height = maxh + "px";
}