Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • bun029 Friend
    #873596

    Hi and sorry for my english!

    I try to use template JA-Medicare, but this is not easy for me, because i am beginner. Where i can eliminate from head page blocks unnecessary for me (see yellow blocks in attached screenshot), wich don’t have "None"-options?

    If question off topic, please tell me where i can ask about that.


    1. Screen-Shot-2016-02-01-at-18.54.32
    Ninja Lead Moderator
    #874111

    Hi,

    You can follow steps to remove yellow blocks(message and component) on features-intro-1 layout.

    Open templates/ja_medicare/tpls/blocks/mainbody/one-sidebar-left-with-mastcol.php file

    find and change

    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content col-xs-12 col-sm-8 col-sm-push-4 col-md-9 col-md-push-3">
        <?php if($this->hasMessage()) : ?>
        <jdoc:include type="message" ></jdoc:include>
        <?php endif ?>
        <jdoc:include type="component" ></jdoc:include>
    </div>
    <!-- //MAIN CONTENT -->
    
    <div class="t3-sidebar t3-sidebar-left col-xs-12 col-sm-4 col-sm-pull-8 col-md-3 col-md-pull-9">
        <div class="row">
    
            <!-- MASSCOL 1 -->
            <?php if ($vars['mastcol']) : ?>
                <div class="t3-mastcol t3-mastcol-1 <?php $this->_c($vars['mastcol']) ?>">
                    <jdoc:include type="modules" name="<?php $this->_p($vars['mastcol']) ?>" style="T3Xhtml" />
                </div>
            <?php endif ?>
            <!-- //MASSCOL 1 -->
    
            <!-- SIDEBAR LEFT -->
            <?php if ($vars['sidebar']) : ?>
            <div class="t3-sidebar col-xs-12 <?php $this->_c($vars['sidebar']) ?>">
                <jdoc:include type="modules" name="<?php $this->_p($vars['sidebar']) ?>" style="T3Xhtml" />
            </div>
            <?php endif ?>
            <!-- //SIDEBAR LEFT -->
        </div>
    </div>
    

    to

    <div class="t3-sidebar t3-sidebar-left">
        <div class="row">
    
            <!-- MASSCOL 1 -->
            <?php if ($vars['mastcol']) : ?>
                <div class="t3-mastcol t3-mastcol-1 <?php $this->_c($vars['mastcol']) ?>">
                    <jdoc:include type="modules" name="<?php $this->_p($vars['mastcol']) ?>" style="T3Xhtml" />
                </div>
            <?php endif ?>
            <!-- //MASSCOL 1 -->
    
            <!-- SIDEBAR LEFT -->
            <?php if ($vars['sidebar']) : ?>
            <div class="t3-sidebar col-xs-12 <?php $this->_c($vars['sidebar']) ?>">
                <jdoc:include type="modules" name="<?php $this->_p($vars['sidebar']) ?>" style="T3Xhtml" />
            </div>
            <?php endif ?>
            <!-- //SIDEBAR LEFT -->
        </div>
    </div>      

    Hope it helps

    Regards

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

This topic contains 1 reply, has 2 voices, and was last updated by  Ninja Lead 8 years, 9 months ago.

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