Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • skwtayler Friend
    #152514

    Hi there,

    I would like to add a new menu to the very top of the template as in the attached picture. I did check the documentation but got a little overwhelmed and figured I would put up a post.
    Can anyone help out with this?


    1. newmodule
    Saguaros Moderator
    #349982

    Hello

    Pls open the file: templates/ja_pyro/layouts/blocks and try to find the following code:
    [PHP]
    <?php $this->loadBlock(‘usertools/screen’) ?>
    [/PHP]
    replace:
    [PHP]

    <?php if( $this->countModules(‘right-top’) ) : ?>

    <div class=”right-top”>
    <jdoc:include type=”modules” name=”right-top” style=”JAxhtml” />
    </div>
    <?php endif; ?>
    [/PHP]
    2) add the following code into the template.css file:

    .right-top{
    position:absolute;
    top:10px;
    right:20px
    }

    3) you put modules on the right-top position

    GOodluck

    skwtayler Friend
    #350066

    Thank you so much, this worked perfectly. Please excuse my ignorance but how could I style this to look like the footer menu (Foot-nav)?
    Thanks so much again!

    joomboom Friend
    #350481

    <em>@tienhc 186569 wrote:</em><blockquote>Hello

    Pls open the file: templates/ja_pyro/layouts/blocks and try to find the following code:
    [PHP]
    <?php $this->loadBlock(‘usertools/screen’) ?>
    [/PHP]
    replace:
    [PHP]

    <?php if( $this->countModules(‘right-top’) ) : ?>

    <div class=”right-top”>
    <jdoc:include type=”modules” name=”right-top” style=”JAxhtml” />
    </div>
    <?php endif; ?>
    [/PHP]
    2) add the following code into the template.css file:

    .right-top{
    position:absolute;
    top:10px;
    right:20px
    }

    3) you put modules on the right-top position

    GOodluck</blockquote>

    You also have to include it in the TemplateDetails.xml:)). Thank you!

    Saguaros Moderator
    #350788

    Hello skwtayler!

    Can you pls give me the link to your site thanks

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

This topic contains 5 replies, has 3 voices, and was last updated by  Saguaros 14 years, 3 months ago.

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