-
AuthorPosts
-
okkhalid Friend
okkhalid
- Join date:
- November 2012
- Posts:
- 229
- Downloads:
- 2
- Uploads:
- 133
- Thanked:
- 3 times in 1 posts
June 16, 2014 at 4:12 am #198868hello,
I’m trying to place 2 offices “locations” to the footer of the template, but it did not work with me. here is the mock for that. please help.
ꦯꦸꦕꦶ ꦏꦸꦂꦤꦶꦲꦮꦤ꧀ Friendꦯꦸꦕꦶ ꦏꦸꦂꦤꦶꦲꦮꦤ꧀
- Join date:
- April 2008
- Posts:
- 100
- Downloads:
- 9
- Uploads:
- 11
- Thanks:
- 8
- Thanked:
- 39 times in 32 posts
June 16, 2014 at 5:57 am #539001Hi @okkalid,
First, you need to make a backup copy of footer.php ja_medicare/tpls/blocks
after that we can then proceed editing footer.php
<div class="main-container clearfix">
<div class="row">
<?php if ($this->countModules('footer-info')) : ?>
<div class="footer-info col-xs-12 col-md-6 <?php $this->_c('footer-info') ?>">
<jdoc:include type="modules" name="<?php $this->_p('footer-info') ?>" style="raw" />
</div>
<?php endif ?><?php if ($this->checkSpotlight('footnav', 'footer-1, footer-2, footer-3, footer-4')) : ?>
<!-- FOOT NAVIGATION -->
<div class="col-xs-12 col-md-12 col-lg-6">
<?php $this->spotlight('footnav', 'footer-1, footer-2, footer-3, footer-4') ?>
</div>
<!-- //FOOT NAVIGATION -->
<?php endif ?>
</div>
</div>
here we’re trying to make a room for the second office info.
After that, go to your template’s backend and edit Footer Info positioned at footer-info
paste the code below to replace the previous content
<div class="office-container">
<a href="index.php"><img src="images/joomlart/logo-footer.png" border="0" alt="" /></a>
</div>
<div class="clearfix"></div><div class="office pull-left">
<h3 class="module-title">Office 1</h3>
<ul>
<li><i class="fa fa-home secondary-background"></i> Medicom Ltd Street , New York--</li>
<li><i class="fa fa-phone cyan-background"></i> 905-476 -2437 </li>
<li><i class="fa fa-envelope primary-background"></i> <a href="">company@mail.com</a></li>
</ul>
</div>
<div class="office pull-right">
<h3 class="module-title">Office 2</h3>
<ul>
<li><i class="fa fa-home secondary-background"></i> Medicom Ltd Street , New York</li>
<li><i class="fa fa-phone cyan-background"></i> 905-476 -2437 </li>
<li><i class="fa fa-envelope primary-background"></i> <a href="">company@mail.com</a></li>
</ul>
</div><!-- AddThis Follow BEGIN -->
<div class="addthis_toolbox">
<a class="addthis_button_facebook_follow" addthis:userid="joomlart"><i class="fa fa-facebook"></i></a>
<a class="addthis_button_twitter_follow" addthis:userid="JoomlArt"><i class="fa fa-twitter"></i></a>
<a class="addthis_button_rss_follow" addthis:userid="joomla.org/rss.html"><i class="fa fa-rss"></i></a>
</div>
<script type="text/javascript" src="//s7.addthis.com/js/300/addthis_widget.js#pubid=ra-523d4894767843b5"></script>
<!-- AddThis Follow END -->
lastly.. create a custom.css under ja_medicare/css/
paste
.office-container {
width:100%;
}
.office{
width:50%;
}
.office .module-title {
color:#FFFFFF;
}
you need to readjust other elements’ css accordingly to accomplish your goal
hope this help
okkhalid Friendokkhalid
- Join date:
- November 2012
- Posts:
- 229
- Downloads:
- 2
- Uploads:
- 133
- Thanked:
- 3 times in 1 posts
June 17, 2014 at 1:31 am #539139Hi wow it works very well, but there is another issue happened in the footer, which the blocks become small
I need only 2 blocks for in the footer area, but now they are compact
Thank you
ꦯꦸꦕꦶ ꦏꦸꦂꦤꦶꦲꦮꦤ꧀ Friendꦯꦸꦕꦶ ꦏꦸꦂꦤꦶꦲꦮꦤ꧀
- Join date:
- April 2008
- Posts:
- 100
- Downloads:
- 9
- Uploads:
- 11
- Thanks:
- 8
- Thanked:
- 39 times in 32 posts
okkhalid Friendokkhalid
- Join date:
- November 2012
- Posts:
- 229
- Downloads:
- 2
- Uploads:
- 133
- Thanked:
- 3 times in 1 posts
June 18, 2014 at 1:47 am #539294nawainruk you are the best :laugh:
AuthorPostsViewing 5 posts - 1 through 5 (of 5 total)This topic contains 5 replies, has 2 voices, and was last updated by okkhalid 10 years, 6 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum