Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • cbruno10 Friend
    #680950

    Hello,

    I’m trying to put a search form on the same position that is module vickcarrent module search.

    However, following the instrutions that exists in the template documentation i cant do it.
    Module position: section-1
    Module Suffix: t3-section-title darker-lg

    The module appear below the slideshow module and never appear over the slideshow.

    How i do it? the module position and the module suffix is correct?

    I hoppe that you can clarify this question!!!

    Tks

    Ninja Lead Moderator
    #681011

    I checked on JA Rent template and could not see search position define on that template but you can use this way to create new position work on your site

    + Open templates/ja_rent/tpls/blocks/topbar.php file

    Line 21

    from

    <div class="topbar-1 col-xs-12 col-sm-3 hidden-xs">

    to

    <div class="topbar-1 col-xs-12 col-sm-4 hidden-xs">

    Line 26

    from

    <div class="topbar-2 col-xs-12 col-sm-7">

    to

    <div class="topbar-2 col-xs-12 col-sm-8">

    + Open templates/ja_rent/tpls/blocks/topbar.php file and add new search position like as my screenshot


    <?php if ($this->countModules('search')) : ?>
    <!-- Search -->
    <div class="search">
    <jdoc:include type="modules" name="<?php $this->_p('search') ?>" style="raw" />
    </div>
    <!-- //Search -->
    <?php endif ?>

    + Open templates/ja_rent/templateDetails.xml file, find and change

    <position>topbar-1 </position>

    to

    <position>topbar-1 </position>
    <position>search</position>

    + Create templates/ja_rent/css/custom.css file and add new rule


    .t3-topbar .topbar-2 > .search {
    padding-left: 0;
    border-left: 0;
    padding-top: 13px;
    padding-bottom: 0;
    border: 0px;
    }

    Now, you can add new search position on your site

    Ninja Lead Moderator
    #747152

    I checked on JA Rent template and could not see search position define on that template but you can use this way to create new position work on your site

    + Open templates/ja_rent/tpls/blocks/topbar.php file

    Line 21

    from

    <div class="topbar-1 col-xs-12 col-sm-3 hidden-xs">

    to

    <div class="topbar-1 col-xs-12 col-sm-4 hidden-xs">

    Line 26

    from

    <div class="topbar-2 col-xs-12 col-sm-7">

    to

    <div class="topbar-2 col-xs-12 col-sm-8">

    + Open templates/ja_rent/tpls/blocks/topbar.php file and add new search position like as my screenshot


    <?php if ($this->countModules('search')) : ?>
    <!-- Search -->
    <div class="search">
    <jdoc:include type="modules" name="<?php $this->_p('search') ?>" style="raw" />
    </div>
    <!-- //Search -->
    <?php endif ?>

    + Open templates/ja_rent/templateDetails.xml file, find and change

    <position>topbar-1 </position>

    to

    <position>topbar-1 </position>
    <position>search</position>

    + Create templates/ja_rent/css/custom.css file and add new rule


    .t3-topbar .topbar-2 > .search {
    padding-left: 0;
    border-left: 0;
    padding-top: 13px;
    padding-bottom: 0;
    border: 0px;
    }

    Now, you can add new search position on your site

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

This topic contains 3 replies, has 2 voices, and was last updated by  Ninja Lead 8 years, 8 months ago.

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