-
AuthorPosts
-
May 13, 2014 at 11:37 am #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 Friendswissa
- Join date:
- November 2011
- Posts:
- 1955
- Downloads:
- 7
- Uploads:
- 277
- Thanks:
- 175
- Thanked:
- 717 times in 572 posts
May 13, 2014 at 1:03 pm #534862I 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!
1 user says Thank You to swissa for this useful post
May 13, 2014 at 2:15 pm #534871It 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
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 16, 2014 at 4:39 am #535387To 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;
}1 user says Thank You to Ninja Lead for this useful post
May 21, 2014 at 8:16 am #536017Hi 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
Ninja Lead ModeratorNinja Lead
- Join date:
- November 2014
- Posts:
- 16064
- Downloads:
- 310
- Uploads:
- 2864
- Thanks:
- 341
- Thanked:
- 3854 times in 3563 posts
May 22, 2014 at 8:34 am #536192I 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.
AuthorPostsViewing 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, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum