-
AuthorPosts
-
June 18, 2015 at 5:09 am #207536
Is it possible to insert a banner in the Topics Module position? The banner would replace the Topics Module and the Date and New Articles counter. Thanks in advance.
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 18, 2015 at 5:48 am #574543<em>@lincoln1 478788 wrote:</em><blockquote>Hi @pavit thanks for the response. That almost works. The date is still there and the banner doesn’t seem to fill the space completely.</blockquote>
If you want to remove the date you should remove the calendar div
Go to this file templatesja_teline_vtplsblocksheader.php
<!-- HEADER RIGHT -->
<div class="col-md-7 header-right">
<div class="header-right-inner"><div class="col trending <?php $this->_c('header-1') ?>">
<jdoc:include type="modules" name="<?php $this->_p('header-1') ?>" />
</div><div class="col calendar">
<div class="col-inner">
<span class="number date"><?php echo date('d') ?></span>
<div class="text">
<span class="day"><?php echo JText::_(date('D')) ?></span>, <span class="month"><?php echo JText::_(date('F').'_SHORT') ?></span>
</div>
</div>
</div><?php if ($this->countModules ('whatsnew')): ?>
<div class="col whatsnew <?php $this->_c('whatsnew') ?>">
<div class="col-inner">
<jdoc:include type="modules" name="<?php $this->_p('whatsnew') ?>" style="raw" />
</div>
</div>
<?php endif ?>Remove the part of code in RED
Changing the value of md- here will decrease or increase header space available for your banner
<div class="col-md-7 header-right">
Please post also a link to your page
1 user says Thank You to pavit for this useful post
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 18, 2015 at 5:48 am #640888<em>@lincoln1 478788 wrote:</em><blockquote>Hi @pavit thanks for the response. That almost works. The date is still there and the banner doesn’t seem to fill the space completely.</blockquote>
If you want to remove the date you should remove the calendar div
Go to this file templatesja_teline_vtplsblocksheader.php
<!-- HEADER RIGHT -->
<div class="col-md-7 header-right">
<div class="header-right-inner"><div class="col trending <?php $this->_c('header-1') ?>">
<jdoc:include type="modules" name="<?php $this->_p('header-1') ?>" />
</div><div class="col calendar">
<div class="col-inner">
<span class="number date"><?php echo date('d') ?></span>
<div class="text">
<span class="day"><?php echo JText::_(date('D')) ?></span>, <span class="month"><?php echo JText::_(date('F').'_SHORT') ?></span>
</div>
</div>
</div><?php if ($this->countModules ('whatsnew')): ?>
<div class="col whatsnew <?php $this->_c('whatsnew') ?>">
<div class="col-inner">
<jdoc:include type="modules" name="<?php $this->_p('whatsnew') ?>" style="raw" />
</div>
</div>
<?php endif ?>Remove the part of code in RED
Changing the value of md- here will decrease or increase header space available for your banner
<div class="col-md-7 header-right">
Please post also a link to your page
1 user says Thank You to pavit for this useful post
pavit Moderatorpavit
- Join date:
- September 2007
- Posts:
- 15749
- Downloads:
- 199
- Uploads:
- 2274
- Thanks:
- 417
- Thanked:
- 4028 times in 3778 posts
June 18, 2015 at 5:48 am #739552<em>@lincoln1 478788 wrote:</em><blockquote>Hi @pavit thanks for the response. That almost works. The date is still there and the banner doesn’t seem to fill the space completely.</blockquote>
If you want to remove the date you should remove the calendar div
Go to this file templatesja_teline_vtplsblocksheader.php
<!-- HEADER RIGHT -->
<div class="col-md-7 header-right">
<div class="header-right-inner"><div class="col trending <?php $this->_c('header-1') ?>">
<jdoc:include type="modules" name="<?php $this->_p('header-1') ?>" />
</div><div class="col calendar">
<div class="col-inner">
<span class="number date"><?php echo date('d') ?></span>
<div class="text">
<span class="day"><?php echo JText::_(date('D')) ?></span>, <span class="month"><?php echo JText::_(date('F').'_SHORT') ?></span>
</div>
</div>
</div><?php if ($this->countModules ('whatsnew')): ?>
<div class="col whatsnew <?php $this->_c('whatsnew') ?>">
<div class="col-inner">
<jdoc:include type="modules" name="<?php $this->_p('whatsnew') ?>" style="raw" />
</div>
</div>
<?php endif ?>Remove the part of code in RED
Changing the value of md- here will decrease or increase header space available for your banner
<div class="col-md-7 header-right">
Please post also a link to your page
1 user says Thank You to pavit for this useful post
June 18, 2015 at 5:50 am #574544hi @pavit url is http://www.cyclenation.co.za
June 18, 2015 at 5:50 am #640889hi @pavit url is http://www.cyclenation.co.za
June 18, 2015 at 5:50 am #739553hi @pavit url is http://www.cyclenation.co.za
-
AuthorPosts
This topic contains 22 replies, has 2 voices, and was last updated by lincoln1 9 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum