Jump to content


(3.2.x) How to move search bar to primary navigation bar...


  • You cannot start a new topic
  • You cannot reply to this topic
No replies to this topic

#1 Broni

    Malware Annihilator

  • 24,883 posts
  • Joined: October 04, 2004
  • 1,860 topics
  • Age: 57
  • Skin: IPBoard wide
  • Local time: 09:03 PM
  • Zodiac:Virgo
  • Gender:Male
  • Location:Daly City, CA
  • OS:Windows Vista
  • Country:
Online
  • Time Online: 57d 10h 30m 28s

Posted 24 September 2011 - 09:58 PM

ACP>your_skin>Templates tab>Global Templates>globalTemplate

Find and cut this:

Quote

{parse template="quickSearch" group="global" params=""}

Paste it right BELOW this:


Quote

<li id='nav_explore' class='right'>
<a href='{parse url="app=core&amp;module=search&amp;do=viewNewContent&amp;search_app=<if test="viewnewcontentapp:|:$this->registry->getCurrentApplication() != 'core' AND IPSLib::appIsSearchable( $this->registry->getCurrentApplication() )">{$this->registry->getCurrentApplication()}<else />forums</if>" base="public"}' accesskey='2'>{$this->lang->words['view_new_posts']}</a>
</li>


Now in ipb_styles.css remove following section:



Quote

#search {


margin: 20px 0;
}

Finally change "background" value here (new value in red):


#adv_search {


background: url("http://www.smartestcomputing.us.com/public/style_images/master/advanced_search.png") no-repeat scroll 0 0 transparent !important;
display: inline-block;
height: 16px;
margin: 4px 0 4px 4px;
text-indent: -3000em;
width: 16px;
}

Final look:

Posted Image





1 user(s) are reading this topic

0 members, 1 guests, 0 anonymous users


This topic has been visited by 17 user(s)