Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • MartiniqueJohns Friend
    #133324

    I installed the Quickstart template for Justicia and see that my right column does not align to the main content area like on the demo site.

    Here is the URL: http://www.hyperbolicmedia.com/sanmiguel2/

    Sherlock Friend
    #270529

    HI
    What’s wrong ? I vewed your site and saw that it like demo

    MartiniqueJohns Friend
    #270654

    On the demo site, the bottom edges of both the main content and the right column are aligned. Mine are not.

    See attached image.

    Sherlock Friend
    #270740

    Hi
    Please edit ja.script.js(templatesja_justiciascripts folder)
    Search those lines:

    function equalHeightInit (){
    var maxh = 0;
    var botsl = $('ja-contentwrap');
    var botsr = $('ja-col2');
    if (!botsl || !botsr) return;
    if(botsl.getStyle('height').toInt() > botsr.getStyle('height').toInt()){
    maxh = botsl.getStyle('height').toInt();
    var wrap3 = $ES('.ja-wrap3', botsr);
    wrap3.setStyle('height',(maxh + 13));
    } else{
    maxh = botsr.getStyle('height').toInt();
    var wrap2 = $ES('.ja-wrap2', botsl);
    wrap2.setStyle('height',(maxh - 13));
    }
    }

    Change to

    function equalHeightInit (){
    var maxh = 0;
    var botsl = $('ja-contentwrap');
    var botsr = $('ja-col2');
    if (!botsl || !botsr) return;
    if(botsl.getStyle('height').toInt() > botsr.getStyle('height').toInt()){
    maxh = botsl.getStyle('height').toInt();
    var wrap3 = $ES('.ja-wrap3', botsr);
    wrap3.setStyle('height',(maxh + 30));
    } else{
    maxh = botsr.getStyle('height').toInt();
    var wrap2 = $ES('.ja-wrap2', botsl);
    wrap2.setStyle('height',(maxh - 30));
    }
    }

    MartiniqueJohns Friend
    #271984

    Thank you – that worked fabulously!

Viewing 5 posts - 1 through 5 (of 5 total)

This topic contains 5 replies, has 2 voices, and was last updated by  MartiniqueJohns 16 years, 2 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum