Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • blink black Friend
    #174533

    I have been able to add a header on top of my template but all my efforts to play around with the alignment is driving me crazy. Basically, I want everything on one line. The url is: http://dakuz.com/joomla/contact . I just wanna move the banner so that the social module and search will be on one line.

    pavit Moderator
    #441341

    Hi

    You cannot have all in one line, not enough space

    I can suggest to move the search module in the mainnav position so you can free more space and then align the banner and social module in 1 line.

    blink black Friend
    #441351

    <em>@pavit 304504 wrote:</em><blockquote>Hi

    You cannot have all in one line, not enough space

    I can suggest to move the search module in the mainnav position so you can free more space and then align the banner and social module in 1 line.</blockquote>

    Please how can I move it to the mainnav position? Also, what if I reduce the width of the search box

    pavit Moderator
    #441358

    to move the search position in the mainnav make these changes

    1) In this folder templatesja_nexblocksheader.php you have at line 32

    <div class="topheader clearfix">
    <?php if($this->countModules('search')) : ?>
    <div id="ja-search">
    <jdoc:include type="modules" name="search" />
    </div>
    <?php endif; ?>

    Remove the line marked in red

    Goto this file pluginssystemjat3jat3base-themesdefaultblocksmainnav.php now starting from line 17 you have

    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    <!-- jdoc:include type="menu" level="0" / -->

    <?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) : ?>
    <div id="ja-subnav" class="clearfix">
    <?php $jamenu->genMenu (1); ?>
    <!-- jdoc:include type="menu" level="1" / -->

    add the code marked in red

    <?php if (($jamenu = $this->loadMenu())) $jamenu->genMenu (); ?>
    <!-- jdoc:include type="menu" level="0" / -->

    <?php if($this->countModules('search')) : ?>
    <div id="ja-search">
    <jdoc:include type="modules" name="search" />
    </div>
    <?php endif; ?>
    <?php if ($this->hasSubmenu() && ($jamenu = $this->loadMenu())) : ?>
    <div id="ja-subnav" class="clearfix">
    <?php $jamenu->genMenu (1); ?>
    <!-- jdoc:include type="menu" level="1" / -->

    Now goto this file /templates/ja_nex/css/template.css around line 130

    #ja-search {
    bottom: 22px; <-----------change this to bottom: 0px;
    }

    In the same file goto line 178

    #ja-social {
    float: right;
    margin-right: 265px; <---------Add this line
    margin-top: 15px;
    }

    Now you have all the space for your banner

    blink black Friend
    #441364

    Hi Pavit. Thanks. I gave it a spin but I still cannot see the search bar in the mainnav position. Also, the social bar is still stuck under

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

This topic contains 5 replies, has 2 voices, and was last updated by  blink black 12 years, 2 months ago.

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