Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • tishelpdesk42 Friend
    #758556

    Dear Admin,

    Kindly need your help to change the position of Breadcrumbs "Navhelper" in my JA University Template? I want to place it under JA Masshead Module.

    Kindly for your reply and thank you for your cooperation and support.

    Regards,

    Ahmad

    pavit Moderator
    #758781

    Hi Again

    Open this file templatesja_university_t3tplsdefault.php

    Change :

    <div class="t3-wrapper"> <!-- Need this wrapper for off-canvas menu. Remove if you don't use of-canvas -->

    <?php $this->loadBlock('header') ?>

    <?php $this->loadBlock('mainnav') ?>

    <?php $this->loadBlock('masthead') ?>

    <?php $this->loadBlock('mainbody') ?>

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

    <?php $this->loadBlock('spotlight-3') ?>

    <?php $this->loadBlock('spotlight-4') ?>

    <?php $this->loadBlock('navhelper') ?>

    <?php $this->loadBlock('footer') ?>

    </div>

    To :

    <div class="t3-wrapper"> <!-- Need this wrapper for off-canvas menu. Remove if you don't use of-canvas -->

    <?php $this->loadBlock('header') ?>

    <?php $this->loadBlock('mainnav') ?>

    <?php $this->loadBlock('masthead') ?>

    <?php $this->loadBlock('navhelper') ?>

    <?php $this->loadBlock('mainbody') ?>

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

    <?php $this->loadBlock('spotlight-3') ?>

    <?php $this->loadBlock('spotlight-4') ?>

    <?php $this->loadBlock('footer') ?>

    </div>

    Here result

    Remember this is default layout ( where is the masthead block), if you want to change also Home layout ( main menu item home ) you should move navhelper block also for this file templatesja_university_t3tplshome.php

    Best regards

    ericdeumo Friend
    #893270

    Good morning.
    I want to remove sidebar-1 and sidebar-2, and increase the sise ot content-mass-top to take the whole width.
    Please help.

    pavit Moderator
    #893295

    Hi @ericdeumo

    You should edit this file /templates/ja_university_t3/tpls/blocks/home.php and remove the 2 sidebar blocks and file should be like this below

    <div id="t3-mainbody" class="container t3-mainbody" >
        <div class="main">
            <div class="row">
                <!-- MAIN CONTENT -->
                <div id="t3-content" class="t3-content col-xs-12">
                    <?php if($this->hasMessage()) : ?>
                    <jdoc:include type="message" ></jdoc:include>
                    <?php endif ?>      
                    <?php if ($this->countModules('content-mass-top')) : ?>
                        <!-- CONTENT MASS TOP -->
                        <div class="content-mass-top <?php $this->_c('content-mass-top') ?>">
                            <jdoc:include type="modules" name="<?php $this->_p('content-mass-top') ?>" style="T3Xhtml" />
                        </div>
                        <!-- CONTENT MASS TOP -->
                    <?php endif ?>      
                    <jdoc:include type="component" ></jdoc:include>
                </div>
                <!-- //MAIN CONTENT -->
            </div>
        </div>
    </div>

    Take first a backup of your original file

    Below the home layout modified, in attach you can find the modified home.php file too


    1. Screenshot_2-1
    1. home.zip
    ericdeumo Friend
    #893698

    Thank you very much.
    But you have not shown me how to increase the size ot content-mass-top to take the whole width.
    Regards.

    pavit Moderator
    #893956

    But you have not shown me how to increase the size ot content-mass-top to take the whole width.

    If you look at my screenshot content-mass-top takes the whole space , you just need to apply the code i showed above, do not need to edit anything else since the <div class="row"> let module take the whole space available.

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

This topic contains 5 replies, has 3 voices, and was last updated by  pavit 8 years, 8 months ago.

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