Jump to content
Sign in to follow this  
unitedskeeball

Eco Pro - Search Box replacement

Recommended Posts

unitedskeeball

Anyone have any idea how I can change the search box on EcoPro to be an image that I will use for my "player login" button (IE link to a URL).

Share this post


Link to post
Share on other sites
cmunns

You could just delete the Search form reference or use CSS to hide it your choice, then adopt similar css positioning attributes to get the login button up there. Afraid I can't help more without the specifics.

Share this post


Link to post
Share on other sites
unitedskeeball

the web address is www.unitedsocialsports.com - Tell me what info you need and I'll get it to you!

Share this post


Link to post
Share on other sites
cmunns

In the header.php file put your login button in the same location where the div with the search form is. Then use the same css as the #searchform to get it in the same spot. If you have code for the login button I can help you further if you paste it here.

Share this post


Link to post
Share on other sites
cmunns

If you actually put the code inside of the #searchform div that should place it properly without changing css rules or html

Share this post


Link to post
Share on other sites
unitedskeeball

I'm having a hard time with the correct code to use as I'm use to straight HTML code... but when I tried that it was a no go.

Share this post


Link to post
Share on other sites
Andrew

ok, so replace this line in header.php: `<?php if(!pagelines('hidesearch')) include (THEME_LIB . '/_searchform.php'); ?>` with this: `` then start by adding this custom css: ` #header .login_button { display:block; position:absolute; right:0; top:5px; } `

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  

×