Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • Robin Friend
    #201762

    Hi!

    How can I add add two modules in position home-feature-3 on the Ja feline iv template?

    TomC Moderator
    #551403

    <em>@rwold 448153 wrote:</em><blockquote>Hi!

    How can I add add two modules in position home-feature-3 on the Ja feline iv template?</blockquote>

    Can you, perhaps, throw together a screenshot mock-up of what it is you are wanting to achieve?

    Robin Friend
    #551409

    I want the two modules to line up like this.

    This is a really bad mock up. I don’t have any tools to make it look better.


    1. Screen-Shot-2014-10-01-at-11.48.45-AM
    Ninja Lead Moderator
    #551592

    I hope my solution below will help you out

    + Backup all file will be change first

    + Open templates/ja_teline_iv_t3/tpls/blocks/mainbody.php file

    Find and change

    <div class="feature-module row-fluid">
    <?php if ($this->countModules('home-feature-2')) : ?>
    <div class="home-feature-2 span6<?php $this->_c('home-feature-2')?>">
    <jdoc:include type="modules" name="<?php $this->_p('home-feature-2') ?>" style="T3Xhtml" />
    </div>
    <?php endif ?>
    <?php if ($this->countModules('home-feature-3')) : ?>
    <div class="home-feature-3 span6<?php $this->_c('home-feature-3')?>">
    <jdoc:include type="modules" name="<?php $this->_p('home-feature-3') ?>" style="T3Xhtml" />
    </div>
    <?php endif ?>
    </div>

    To

    <div class="feature-module row-fluid">
    <?php if ($this->countModules('home-feature-3')) : ?>
    <div class="home-feature-3 span12<?php $this->_c('home-feature-3')?>">
    <jdoc:include type="modules" name="<?php $this->_p('home-feature-3') ?>" style="T3Xhtml" />
    </div>
    <?php endif ?>
    </div>

    + Open templates/ja_teline_iv_t3/css/custom.css file and add new rule


    .home-feature-3 .t3-module {
    width: 49% ! important;
    float: left ! important;
    padding-left: 2px ! important;
    }

    Now, you can add both modules in home-feature-3 position. Let me know if it helps

    Robin Friend
    #552348

    Hi!

    It worked but it moved other modules in the right sidebar to the left side of the homepage. Any solution for this?

    Ninja Lead Moderator
    #552383

    <em>@rwold 449299 wrote:</em><blockquote>Hi!

    It worked but it moved other modules in the right sidebar to the left side of the homepage. Any solution for this?</blockquote>

    What did you change on your site? I see the structure source in mainbody.php file is different as my changed from my local. You can rollback to default any your changed and pm me FTP account of your site. I will help you to check it

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