Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • brimel Friend
    #156029

    Hi,

    How do you add an extra custom module position next to the logo in JA droid?

    I want to move the logo to the left and custom module to the right of it.

    I know CSS, but I can’t find where in the layout to put the custom module.

    Thanks for helping.

    Saguaros Moderator
    #361637

    You copy the file: /plugins/system/jat3/base-themes/default/blocks/header.php to templates/ja_android/blocks

    and then you open this that file and find:
    [PHP]
    <?php if($this->countModules(‘search’)) : ?>
    [/PHP]
    replace:
    [PHP]
    <div class=”ja-topbanner”>
    <jdoc:include type=”modules” name=”topbanner” />
    </div>

    <?php if($this->countModules(‘search’)) : ?>
    [/PHP]

    and add the following code into the template.css file:

    .ja-topbanner{
    width:300px;
    height:80px;
    background:red;
    position:absolute;
    top:50px;
    right:0;
    }

    when done you have a new position, its name is topbanner, you will put your modules on there

    sedance Friend
    #418916

    Hello,

    i do not need the search module. I take the position right next to the logo for google translate. http://www.bohol-hotel.com/

    how can I get exactly the same position left by the logo? ….for a small banner or hyperlink

    best regards
    Sedance

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

This topic contains 3 replies, has 3 voices, and was last updated by  sedance 13 years ago.

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