test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • bibok Friend
    #202594

    Hello to everybody!

    I need help with this idea: On my site, I have the layout just like the before.png snapshot attachment. But I need to make the content-mass-top like the after.png snapshot attachment.

    How can I do this?

    Thanks!


    1. before
    2. after
    Saguaros Moderator
    #554803

    Greetings bibok,

    You will need to customize a bit in layout file of this template. I assume that you’re using default layout and you will make change for the ‘mainbody’ block.

    Just go to file: templatesja_social_t3tplsblocksmainbody.php, look for this snippet of code:


    <div id="t3-mainbody" class="t3-mainbody">
    <div class="container">
    <div class="row">
    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content <?php echo $this->getClass($layout, $col) ?> pull-left" <?php echo $this->getData ($layout, $col++) ?>>
    <?php if ($this->countModules($contentmass)) : ?>
    <div class="row-fluid">
    <!-- CONTENT MASS -->
    <div class="t3-content-mass pull-left t3-content-mass-top span12 <?php $this->_c($contentmass) ?>">
    <jdoc:include type="modules" name="<?php $this->_p($contentmass) ?>" style="T3Xhtml" />
    </div>
    </div>
    <!-- //CONTENT MASS -->
    <?php endif ?>
    <div class="row">
    <div class="main-content <?php echo ($this->getClass($layout, $col)!='')?$this->getClass($layout, $col):'span12'; ?> pull-left" <?php echo $this->getData ($layout, $col++) ?>>
    <div class="main-content-inner">
    <jdoc:include type="message" />
    <jdoc:include type="component" />
    </div>
    </div>

    change it to:


    <div id="t3-mainbody" class="t3-mainbody">
    <div class="container">
    <div class="row">
    <?php if ($this->countModules($contentmass)) : ?>
    <div class="row-fluid">
    <!-- CONTENT MASS -->
    <div class="t3-content-mass pull-left t3-content-mass-top span12 <?php $this->_c($contentmass) ?>">
    <jdoc:include type="modules" name="<?php $this->_p($contentmass) ?>" style="T3Xhtml" />
    </div>
    </div>
    <!-- //CONTENT MASS -->
    <?php endif ?>
    </div>
    <div class="row">
    <!-- MAIN CONTENT -->
    <div id="t3-content" class="t3-content <?php echo $this->getClass($layout, $col) ?> pull-left" <?php echo $this->getData ($layout, $col++) ?>>

    <div class="row">
    <div class="main-content <?php echo ($this->getClass($layout, $col)!='')?$this->getClass($layout, $col):'span12'; ?> pull-left" <?php echo $this->getData ($layout, $col++) ?>>
    <div class="main-content-inner">
    <jdoc:include type="message" />
    <jdoc:include type="component" />
    </div>
    </div>

    Hope this helps & Have a nice day

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Saguaros 10 years, 1 month ago.

We moved to new unified forum. Please post all new support queries in our New Forum