Jump to content
Sign in to follow this  
ordermindsovermediacom

Replacing Search in the Header

Recommended Posts

ordermindsovermediacom

Would like to replace the search box in the header of the EcoPro Theme with client login user name and password boxes. Read from earlier post that you need to replace the php include code for the search bar in the header.php file. However, when I do this, I can't get it to line up on the top right of the header. How do I do enter the new code in the header php file properly? The code I was replacing in the headerphp file is below: <?php if(!pagelines('hidesearch')) include (THEME_LIB . '/_searchform.php'); ?> The code I'm putting in for the login boxes is below: <form method="POST" action="http://affiliate.flwtracker.com/login.php"> Username: <input type="text" name="username" /> Password: <input type="password" name="password" /> <input type="submit" value="Login"> </form> Thanks. Dave

Share this post


Link to post
Share on other sites
cmunns

If it's an alignment issue you'll want to use CSS. I recommend wrapping the bit of code you have in something like this `

WITH YOUR FORM (HTML) IN HERE
` Then apply a `.my-loginbox` class in the CSS area of your theme options. When you get to that point we can work on positioning if you provide a link to the site.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this  

×