Saturday, March 8, 2008

New search box in your niche store



If you have ever wanted to move your search box to the 3rd column in the 3 column template, this is how you do it:

I suggest backing up your frontcontrol.php file first in case you want to go back to the original file in the future.

Then open frontcontrol.php in notepad and replace the searchside function with this code posted in this thread:
http://www.buildanichestore.com/members/viewtopic.php?p=29581#29581

save and ftp your new frontcontrol.php file back to your server.

Find the following piece of code inside your styles.css file:

Code:
.searchform {
padding:0;
margin:0;
width:390px;
}


And change it to:

Code:
.searchform {
padding:0;
margin:0;
width:143px;
}


Also change search select to 200px

#search select {
width: 200px;
}

Delete search();?> from your header.php. Open your footer.php and find this line:

Sponsored Links



Directly underneath that add this code like this:

Sponsored Links>


searchside();?>

Related Posts by Categories



0 comments:

Followers

Twitter Updates

    follow me on Twitter
     

    Build A Niche Store Blog. Copyright 2008 All Rights Reserved Revolution Two Church theme by Brian Gardner Converted by Bloganol dot com Privacy Policy