test
Viewing 7 posts - 1 through 7 (of 7 total)
  • Author
    Posts
  • giusti2 Friend
    #691613

    Hello.

    I would like to have the Top Content module position like the menu and put the sidebar belower … please see the att. NOW and AFTER. Thank you for your help.

    Ninja Lead Moderator
    #691727

    Hi,

    In this case, you have to more custom work on JA Wall template.

    + Open templates/ja_wall/index.php file

    find and change


    <?php if ($this->countModules('top-content')): ?>
    <div class="inner ">
    <jdoc:include type="modules" name="top-content" />
    </div>
    <?php endif; ?>

    to


    <!-- top-content -->
    <div id="top-content" class="wrap">
    <?php if ($this->countModules('top-content')): ?>
    <jdoc:include type="modules" name="top-content" />
    <?php endif; ?>
    </div>
    <!-- // top-content -->

    and move it as my screenshot

    + Open templates/ja_wall/css/layout.css file

    find and change


    #sidebar {
    margin-left: -120px;
    position: fixed;
    top: 70px; /* Space for header */
    width: 120px;
    }

    #container .main {
    padding-top: 60px; /* Space for header */
    padding-right: 0.1%;
    }

    to


    #sidebar {
    margin-left: -120px;
    position: fixed;
    top: 100px; /* Space for header */
    width: 120px;
    }
    #container .main {
    padding-top: 90px; /* Space for header */
    padding-right: 0.1%;
    }
    div#top-content {
    position: absolute;
    top: 55px;
    clear: both;
    width: 100%;
    }

    Hope it helps

    Regards

    Ninja Lead Moderator
    #749412

    Hi,

    In this case, you have to more custom work on JA Wall template.

    + Open templates/ja_wall/index.php file

    find and change


    <?php if ($this->countModules('top-content')): ?>
    <div class="inner ">
    <jdoc:include type="modules" name="top-content" />
    </div>
    <?php endif; ?>

    to


    <!-- top-content -->
    <div id="top-content" class="wrap">
    <?php if ($this->countModules('top-content')): ?>
    <jdoc:include type="modules" name="top-content" />
    <?php endif; ?>
    </div>
    <!-- // top-content -->

    and move it as my screenshot

    + Open templates/ja_wall/css/layout.css file

    find and change


    #sidebar {
    margin-left: -120px;
    position: fixed;
    top: 70px; /* Space for header */
    width: 120px;
    }

    #container .main {
    padding-top: 60px; /* Space for header */
    padding-right: 0.1%;
    }

    to


    #sidebar {
    margin-left: -120px;
    position: fixed;
    top: 100px; /* Space for header */
    width: 120px;
    }
    #container .main {
    padding-top: 90px; /* Space for header */
    padding-right: 0.1%;
    }
    div#top-content {
    position: absolute;
    top: 55px;
    clear: both;
    width: 100%;
    }

    Hope it helps

    Regards

    giusti2 Friend
    #691955

    Thank you very much. Yes, it helps very well. The only thing is that I have now 2 Banners. 1 On the old Top Content position and one on the new positione. Maybe you have a hint?

    giusti2 Friend
    #749468

    Thank you very much. Yes, it helps very well. The only thing is that I have now 2 Banners. 1 On the old Top Content position and one on the new positione. Maybe you have a hint?

    Ninja Lead Moderator
    #692043

    <em>@giusti2 493759 wrote:</em><blockquote>Thank you very much. Yes, it helps very well. The only thing is that I have now 2 Banners. 1 On the old Top Content position and one on the new positione. Maybe you have a hint?</blockquote>

    Hi,

    In this case, you have to remove

    <?php if ($this->countModules('top-content')): ?>
    <div class="inner ">
    <jdoc:include type="modules" name="top-content" />
    </div>
    <?php endif; ?>

    into templates/ja_wall/index.php file, see the screenshot

    Regards

    Ninja Lead Moderator
    #749556

    <em>@giusti2 493759 wrote:</em><blockquote>Thank you very much. Yes, it helps very well. The only thing is that I have now 2 Banners. 1 On the old Top Content position and one on the new positione. Maybe you have a hint?</blockquote>

    Hi,

    In this case, you have to remove

    <?php if ($this->countModules('top-content')): ?>
    <div class="inner ">
    <jdoc:include type="modules" name="top-content" />
    </div>
    <?php endif; ?>

    into templates/ja_wall/index.php file, see the screenshot

    Regards

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

This topic contains 7 replies, has 2 voices, and was last updated by  Ninja Lead 9 years, 2 months ago.

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