-
AuthorPosts
-
April 11, 2011 at 6:46 am #162624
hi i want to add two module positions just below the main menu.
i add the following code.
1. in the file “left-main-right.round.php” i added the following code just below the menu.<!– MAIN NAVIGATION –>
<?php $this->loadBlock(‘mainnav’) ?>
<!– //MAIN NAVIGATION –>
<!–New positions –>
<div id=”topmod”>
<?php if( $this->countModules(‘topgauche’) ): ?>
<div id=”topgauche”>
<jdoc:include type=”modules” name=”topgauche” style=”JArounded” /> </div>
<?php endif; ?>
<?php if( $this->countModules(‘topdroite’) ): ?>
<div id=”topdroite”> <jdoc:include type=”modules” name=”topdroite” style=”JArounded” />
</div><?php endif; ?>
</div>
<!– topsal –>
2. in the template.css i added the following code/* new positions —*/
#topgauche {float: left; width: 60%; }
#topdroite { float: right; width: 38%;}
#topmod { height: 350px;}
3. in the templatedetails.xml i added the following code<position>topgauche</position>
<position>topdroite</position>
the positions are created and i added a slideshow module to that positions then the image of my local site is as in the figure. my porblem is
how to adjust the postions alignment and what about the highlighted white color.
please help me
khoand Friendkhoand
- Join date:
- February 2011
- Posts:
- 4500
- Downloads:
- 0
- Uploads:
- 179
- Thanks:
- 169
- Thanked:
- 1166 times in 1060 posts
April 11, 2011 at 4:58 pm #385810Hi,
Could you give me a link to your website?April 12, 2011 at 7:18 am #385892thank you for your reply. i am checking all these changes in my local site. so i am sorry to give link.
AuthorPostsViewing 3 posts - 1 through 3 (of 3 total)This topic contains 3 replies, has 2 voices, and was last updated by thiru_ch 13 years, 7 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
new module position
Viewing 3 posts - 1 through 3 (of 3 total)