-
AuthorPosts
-
tslavinaaws Friend
tslavinaaws
- Join date:
- May 2007
- Posts:
- 20
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 5
- Thanked:
- 11 times in 2 posts
January 22, 2013 at 11:27 pm #184290I 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 ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 23, 2013 at 11:31 am #480910You 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 resulttslavinaaws Friendtslavinaaws
- Join date:
- May 2007
- Posts:
- 20
- Downloads:
- 0
- Uploads:
- 8
- Thanks:
- 5
- Thanked:
- 11 times in 2 posts
January 24, 2013 at 5:47 pm #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;
}
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
January 25, 2013 at 4:37 am #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.AuthorPostsViewing 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, 11 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Need to change layout positions
Viewing 4 posts - 1 through 4 (of 4 total)