Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • AHMED Friend
    #192308

    Hello,
    I want to change the position of search engine to menu bar in ja_mitius.

    to be just like this one;

    http://joomla-templates.joomlart.com/ja_mendozite/

    I attached a screenshot.
    Thanks in advance.


    1. screenshot
    Ninja Lead Moderator
    #512425

    What you need will require customization on JA Mitius Template, try with my suggestion:

    + Open templates/ja_mitius/tpls/blocks/top-bar.php file

    Cut

    <div class="head-search<?php $this->_c('head-search')?>">
    <jdoc:include type="modules" name="<?php $this->_p('head-search') ?>" style="raw" />
    </div>

    + Paste it into templates/ja_mitius/tpls/blocks/mainnav.php file

    From

    <div class="right-mainnav"> </div>

    Change to

    <div class="right-mainnav">
    <div class="head-search<?php $this->_c('head-search')?>">
    <jdoc:include type="modules" name="<?php $this->_p('head-search') ?>" style="raw" />
    </div>
    </div>

    + Open templates/ja_mitius/css/template.css file

    From

    .head-search {
    float: left;
    height: 49px;
    width: 47%;
    }

    change to

    .head-search {
    float: right;
    height: 49px;
    width: auto;
    }

    AHMED Friend
    #512447

    Thanks a lot.
    It works well, but because I am using a RTL theme so I had to margin the search box to left side and this causes a freezing for all menu items. I have checked website with Firefox and Chrome but it works in Internet Explorer even the search box is not perfect like others browsers..

    Could you please check that issue ?
    http://108.163.201.174/~alumma/

    Thanks again.

    AHMED Friend
    #512548

    Hello,
    I have fixed this issue by adding the following;
    templates/ja_mitius/css/rtl/green/template.css

    .head-search .input
    position: absolute;

    Could you please confirm that is correct solution ?
    Regards.

    Ninja Lead Moderator
    #512622

    That’s right, thanks for sharing

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

This topic contains 5 replies, has 2 voices, and was last updated by  Ninja Lead 11 years ago.

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