Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • Kristjan Thor Arnason Friend
    #199167

    Trying to include a searchbox or similiar in menu on right hand side
    as attached image shows // same as on joomlart.com

    Using One Page template

    Is this possible?

    Thank you.
    Kristjan / Dagsverk


    1. search-in-menu-ja-one-page
    Nazario A Friend
    #540587

    Hi Kristjan,

    You can give it a try with workaround below:

    – Firstly, open the file: /templates/your_template_name/tpls/blocks/header.php then add this code:

    <div class="search-custom">
    <jdoc:include type="modules" name="search-custom" style="raw" />
    </div>

    – Secondly, open the file: /templates/your_template_name/templateDetails.xml then add this line:

    <position>search-custom</position>

    – Thirdly, open the file: /templates/your_template_name/css/custom.css then add this rule:

    #ja-header .t3-mainnav {
    float: left;
    }
    #ja-header .search-custom {
    float: right;
    margin-top: 10px;
    }

    – Finally, go to the search module in backend and assign it to “search-custom” position.

    Hope this helps.


    1. Screenshot_18
    2. Screenshot_19
Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  Nazario A 10 years, 5 months ago.

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