Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • crystalprint Friend
    #197712

    Hello everyone,

    I have a question, i would like to add another footer block to my footer menu(with footer-5 position)
    It doesnt excist at the moment so i hope someone could help me get the 5th footer menu block.

    i have tryd adding a block at the template manager>layout.
    But i cant find the correct position with the correct style.

    Kind regards

    swissa Friend
    #534862

    I don’t have Appolio live so back-up your site with akeeba and then you can try this…

    Go to templates/ja_appolio/tpls/blocks/footnav.php and edit it to include footer-5 position (as shown below) and save it. That should work for you.

    <?php/**
    * @package T3 Blank
    * @copyright Copyright (C) 2005 - 2012 Open Source Matters, Inc. All rights reserved.
    * @license GNU General Public License version 2 or later; see LICENSE.txt
    */

    defined('_JEXEC') or die;
    ?>

    <?php if ($this->checkSpotlight('footnav', 'footer-1, footer-2, footer-3, footer-4, footer-5')) : ?>
    <!-- FOOT NAVIGATION -->
    <nav class="t3-footnav">
    <?php
    $this->spotlight ('footnav', 'footer-1, footer-2, footer-3, footer-4, footer-5')
    ?>
    </nav>
    <!-- //FOOT NAVIGATION -->
    <?php endif ?>

    You’ll also need to go to templates/ja_appolio/templateDetails.xml and add in the line


    <position>footer-5</position>
    at around line 80 just after position-4 so that it appears in the modules position list.

    Hope that helps – remember to do a backup first!

    crystalprint Friend
    #534871

    It workt !!

    thank you very much !

    i have one little more question.

    The 5 blocks are to the left but i want to center them .
    What do i need to change for that ??(see attachment)

    kind regards


    1. Naamloos-1
    Ninja Lead Moderator
    #535387

    To have 5blocks in the center of footer, please create the templates/ja_appolio/css/custom.css file and add new rule:


    div.t3-footnav .col-lg-4 {
    text-align: center;
    }
    div.t3-footnav .col-lg-2 {
    text-align: center;
    }

    crystalprint Friend
    #536017

    Hi Ninja Lead,

    I did everything but now i get this(see attachment)

    could you help me with this please ?

    I want to center all 5 blocks with the template.

    i just send you the account information to login my website.

    kind regards


    1. 1
    Ninja Lead Moderator
    #536192

    I just fixed the problem directly on your site. You will see the following css declaration in the “templates/ja_appolio/css/custom.css” file:


    div.t3-spotlight.t3-footnav.row {
    margin-left: 80px;
    }
    div.col-lg-4.col-md-4.col-sm-6.col-xs-12 {
    width: 16.66666666666666%;
    }
    @media (max-width: 767px) {
    div.t3-spotlight.t3-footnav.row {
    margin-left: 0px;
    }
    }

    Let me know if it helps.

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

This topic contains 6 replies, has 3 voices, and was last updated by  Ninja Lead 10 years ago.

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