• 0
Sign in to follow this  
Followers 0

How do I replace the Search Field in the header with Plain Text?

Question

Posted · Report post

Hello! I'm an HTML noobie and I'm trying to help my friend's dad out with his EcoPro template. We removed the search function in the top right hand corner. We'd like to replace this area with plain text to list his contact information. I tried deleting line 65 in the header.php <?php if(!pagelines('hidesearch')) get_template_part ( 'library/_searchform'); ?> and replacing it with

Southern Green Homes
021 234 9867
This did place text in the header, but unfortunately under the logo on the lower left hand side of the header and changed the size of the text in the drop down menus. Can someone please tell me: 1) Is this the right line of code to delete and stick replacement code? and 2) How should I format my text so that it appears in the TOP RIGHT hand corner of the header. For example like this site http://topherpages.com/rosines-v1/ but slight larger text, two lines. Thank you for your help!! k8

Share this post


Link to post
Share on other sites

3 answers to this question

  • 0

Posted · Report post

Could we see a link to the site? For one thing, your h5 tag is not being closed. the correct way is like this: [code]
Hello World
[/code] If we could see your site we could give an easy fix, but you could try this: [code]
Southern Green Homes
021 234 9867
[/code]

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

Thanks Kastelic! That did help but didn't quite solve my problem. Search Form is gone but now the text is sitting overlapping my NavBar on the Low Right side of the header and has created an ugly gap between logo and nav bar. http://southerngreenhomes.ie/sgh/ If you could help me with the code to push the text up into the Top Right hand corner of the nav bar - that would be super groovy. Thanks so much in advance :-) k8

Share this post


Link to post
Share on other sites
  • 0

Posted · Report post

So the ultimate fix to this problem was creatinga new, longer header in Photoshop with the text directly on the image. Thanks for your help!

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  
Followers 0