-
AuthorPosts
-
March 24, 2014 at 9:44 pm #196125
I’d like to remove all the gray area where the position of footer-1, footer-2, footer-3, ….
I’ve already disable all the module associates with those positions but the area is still displaying a blank gray color.
Please see attached image
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
March 24, 2014 at 10:11 pm #527935Hi
You can add in the custom.css file the display none
.t3-footer.container {
display:none!important;
}March 24, 2014 at 10:29 pm #527936Thanks for your help. Your method is removed everything in the footer.
However, if you look at the attached image, I’d like to leave the bottom area as is (below the horizontal line where the footer-menu module position is). If we can leave the horizontal line, that would be great. If not, that is okay.
chavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
March 25, 2014 at 3:30 am #527968Add this code to custom.css
#t3-footer .row{
display:none !important;
}#t3-footer .t3-copyright .row{
display:block !important;
}.t3-copyright{
margin-top:10px !important;
}.t3-footer.container{
padding-top:30px !important;
}1 user says Thank You to chavan for this useful post
March 26, 2014 at 5:40 am #528179That’s Good!
March 29, 2014 at 2:33 pm #528580I had this same issue, but didn’t want to completely disable those areas so used a slightly different approach. In ../templates/ja_biz/tpls/blocks I made a copy of footer.php and named if footer-min.php. I then altered the code and added conditional statements to check for the presence of a module in each div.
WARNING–The following example works for me, but it might break your site. Make changes to the template files ONLY if you know what you are doing and always, ALWAYS back up your site before making potentially harmful changes!
Original code:
<!-- FOOT NAVIGATION -->
<div class="row"><div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
<div class="footer-info">
<?php if ($this->countModules('footer-info')) : ?>
<jdoc:include type="modules" name="<?php $this->_p('footer-info') ?>" style="T3xhtml" />
<?php endif ?><div class="copyright <?php $this->_c('footer') ?>">
<jdoc:include type="modules" name="<?php $this->_p('footer') ?>" />
</div>
</div></div>
Modified code:
<!-- FOOT NAVIGATION -->
<div class="row">
<?php if ($this->countModules('footer-info')||$this->countModules('footer')) : ?>
<div class="col-lg-3 col-md-3 col-sm-12 col-xs-12">
<div class="footer-info">
<?php if ($this->countModules('footer-info')) : ?>
<jdoc:include type="modules" name="<?php $this->_p('footer-info') ?>" style="T3xhtml" />
<?php endif ?><div class="copyright <?php $this->_c('footer') ?>">
<jdoc:include type="modules" name="<?php $this->_p('footer') ?>" />
</div>
</div>
<?php endif ?>
</div>
I did the same for each potential “row” of positions, then edited the template to point at the new footer-min block. Now if there is no module assigned to any of the positions in a “row”, then that section is not rendered. If however a module is assigned to any of the positions in that row, the section is processed/displayed as usual. Perhaps something like this could be implemented in the code for the template to address this issue permanently?
Thanks,
Mattchavan Friendchavan
- Join date:
- October 2014
- Posts:
- 4612
- Downloads:
- 0
- Uploads:
- 110
- Thanked:
- 1440 times in 1290 posts
browwwsers cybercafe Friendbrowwwsers cybercafe
- Join date:
- September 2014
- Posts:
- 77
- Downloads:
- 0
- Uploads:
- 33
- Thanks:
- 4
- Thanked:
- 1 times in 1 posts
August 19, 2014 at 7:44 pm #546573It works :):):) thank you all great help!!!!!!!!!!!!!!!!!!
AuthorPostsViewing 8 posts - 1 through 8 (of 8 total)This topic contains 8 replies, has 6 voices, and was last updated by browwwsers cybercafe 10 years, 2 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Removed gray area where footer-1, footer-2, …, footer-email-subscribe
Viewing 8 posts - 1 through 8 (of 8 total)