Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • tslavinaaws Friend
    #184290

    I have added to new positions to the JA Mero template for the front page and need them to line up on either side of the message and component. the positions i added are position-16 and position-17 and right now they are above and below the meassage and component section

    [PHP]<div id=”left-block” class=”clearfix”>
    <jdoc:include type=”modules” name=”<?php $this->_p(‘position-16’) ?>” />
    </div>
    <div id=”ja-maincontent” class=”clearfix”>

    <jdoc:include type=”message” />

    <jdoc:include type=”component” />

    </div>
    <div id=”right-block” class=”clearfix”>
    <jdoc:include type=”modules” name=”<?php $this->_p(‘position-17’) ?>” />
    </div>

    <?php $this->loadBlock (‘spotlight-2’) ?>

    </div>[/PHP]

    any help would be greatly appreciated

    Ninja Lead Moderator
    #480910

    You can follow with my suggestion
    <blockquote>templates/ja_mero/tpls/blocks/mainbody.php
    templates/ja_mero/tpls/blocks/mainbody-home.php
    templates/ja_mero/tpls/blocks/mainbody-content-left.php</blockquote>

    find this script

    <div id="ja-maincontent" class="clearfix">
    <jdoc:include type="message" />
    <jdoc:include type="component" />
    </div>

    and change to

    <div id="left-block" class="clearfix">
    <jdoc:include type="modules" name="<?php $this->_p('position-16') ?>" style="JAxhtml" />
    </div>
    <div id="ja-maincontent" class="clearfix">

    <jdoc:include type="message" />

    <jdoc:include type="component" />

    </div>
    <div id="right-block" class="clearfix">
    <jdoc:include type="modules" name="<?php $this->_p('position-17') ?>" style="JAxhtml" />
    </div>

    Let me know the result

    tslavinaaws Friend
    #481055

    <em>@Ninja Lead 356663 wrote:</em><blockquote>You can follow with my suggestion

    find this script

    <div id="ja-maincontent" class="clearfix">
    <jdoc:include type="message" />
    <jdoc:include type="component" />
    </div>

    and change to

    <div id="left-block" class="clearfix">
    <jdoc:include type="modules" name="<?php $this->_p('position-16') ?>" style="JAxhtml" />
    </div>
    <div id="ja-maincontent" class="clearfix">

    <jdoc:include type="message" />

    <jdoc:include type="component" />

    </div>
    <div id="right-block" class="clearfix">
    <jdoc:include type="modules" name="<?php $this->_p('position-17') ?>" style="JAxhtml" />
    </div>

    Let me know the result</blockquote>

    Nope that didn’t change anything.
    I have attached a screenshot of what is happening
    also here is the css code that i have so far

    #left-block {
    float: left;
    padding: 0;
    margin: 0;
    }

    #right-block {
    float: right;
    padding: 0;
    margin: 0;
    }


    1. front-page-layout-screen-shot
    Ninja Lead Moderator
    #481091

    <em>@tslavinaaws 356853 wrote:</em><blockquote>Nope that didn’t change anything.
    I have attached a screenshot of what is happening
    also here is the css code that i have so far

    #left-block {
    float: left;
    padding: 0;
    margin: 0;
    }

    #right-block {
    float: right;
    padding: 0;
    margin: 0;
    }

    </blockquote>

    Right now its difficult to guess the issue and give solution to you.
    You need to send me the screenshot of default layout of JA Mero Template and overlay it with what you are trying to achieve. I might be able to help you out then.

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

This topic contains 4 replies, has 2 voices, and was last updated by  Ninja Lead 11 years, 10 months ago.

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