Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • niallth Friend
    #117429

    I would like to move the position of module User 1 so that it is at the top of the page, below the header, but above the content.

    Any advice on how this can be done?

    subtiricaliviu Friend
    #211109

    For which template?

    niallth Friend
    #211115

    The template is JA Avior.

    subtiricaliviu Friend
    #211119

    If you want to move module user 1…or 2 or both between header and content you have to move this code (you can find this code in the bottom of page)

    <!-- BEGIN: CONTENT SPOTLIGHT -->
    <?php if ( mosCountModules( 'user1') || mosCountModules( 'user2') ) { ?>
    <div style="position: relative; margin: 10px 0;" class="clearfix">
    <?php if ( mosCountModules( 'user1') ) { ?>
    <div id="ja-spotlight-1" style="width: <?php echo $divwidth ?>; float: left;">
    <?php mosLoadModules('user1',-2); ?>
    </div>
    <?php }
    if ( mosCountModules( 'user2') ) { ?>
    <div id="ja-spotlight-2" style="width: <?php echo $divwidth ?>; float: right;">
    <?php mosLoadModules('user2',-2); ?>
    </div>
    <?php } ?>
    </div>
    <?php } ?>
    <!-- END: CONTENT SPOTLIGHT -->

    between this :


    <!-- END: MAIN MENU -->

    <div class="ja-contentwrap-outer">
    <div class="ja-contentwrap-inner">

    and:


    <div id="ja-contentwrap" class="clearfix">

    In this situation you will move User1 and User2 module between header (menu) and all content …include left and right modules.

    If you want to move user1 and 2 modules between header and content ( only above content, but not above left or right module) you have to move the same code like before:

    <!-- BEGIN: CONTENT SPOTLIGHT -->
    <?php if ( mosCountModules( 'user1') || mosCountModules( 'user2') ) { ?>
    <div style="position: relative; margin: 10px 0;" class="clearfix">
    <?php if ( mosCountModules( 'user1') ) { ?>
    <div id="ja-spotlight-1" style="width: <?php echo $divwidth ?>; float: left;">
    <?php mosLoadModules('user1',-2); ?>
    </div>
    <?php }
    if ( mosCountModules( 'user2') ) { ?>
    <div id="ja-spotlight-2" style="width: <?php echo $divwidth ?>; float: right;">
    <?php mosLoadModules('user2',-2); ?>
    </div>
    <?php } ?>
    </div>
    <?php } ?>
    <!-- END: CONTENT SPOTLIGHT -->

    above


    <?php mosMainBody(); ?>

    All this changes you have to made them in ja_avior index.php page.
    I hope you can undestand my english, if you need more help feel free and contact me.
    Good luck!:)

    niallth Friend
    #211144

    Many thanks for taking the time to explain this. Your suggestion worked perfectly.

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

This topic contains 5 replies, has 2 voices, and was last updated by  niallth 17 years, 6 months ago.

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