go41

Re: Moving the search bar :: Reply by Joern

von Joern am 26. Jul. 2010 | Keine Kommentare

this search bar is actually the file searchform.php
here you find the text to change – Search the archive…
you are free to change it as well as the image arthemia/images/magnify.gif
you might try the searchform.php from the default theme of your wordpress
you could also use
Code:

<?php get_search_form(); ?>

to get a default search bar, explained here:
http://codex.wordpress.org/Function_Ref … earch_form
____________________
you find me on Google+, Twitter and Facebook

(von: Joern)

Hier noch 11 weitere Ergebnisse dieses Threads:

Moving the search bar

26. Jul. 2010 (von: drwhom)

Hi Joern, I'm finally updating all of our static content which means more content heading up to the nav bar and consequently things are getting a bit crowded. What I'd really like to do is move the search bar so…

Re: Moving the search bar :: Reply by adamwork

26. Jul. 2010 (von: adamwork)

Hi AndrewYou still need to keep <?php include (TEMPLATEPATH . '/searchform.php'); ?>in your header, which will ensure that it appears on every page.Then just change the css, to alter it's position/colour etc.Depending on the theme your using, i... Weiterlesen →

Re: Moving the search bar :: Reply by drwhom

26. Jul. 2010 (von: drwhom)

Brilliant, thanks Adam. Sorry to ask for extra help but could you give me an idea of how style.css would change to put the form under the nav bar? Weiterlesen →

Re: Moving the search bar :: Reply by adamwork

26. Jul. 2010 (von: adamwork)

You could try something likemargin-top:40px;which might help to push it down out of the navbar... Weiterlesen →

Re: Moving the search bar :: Reply by Joern

26. Jul. 2010 (von: Joern)

Andrew, you could try to move:Code:<?php include (TEMPLATEPATH . '/searchform.php'); ?>in header.php some lines up, into your div class="right" just below the end of your oio-banner-..It will be under the banner than, you got some space thereor just copy it,…

Re: Moving the search bar :: Reply by drwhom

26. Jul. 2010 (von: drwhom)

Thanks very much for all the suggestions. Joern I think you're right it will look best above the nav bar - the only issue is that the magnifying glass looks really weak on a white background. Can I delete that…

Re: Moving the search bar :: Reply by drwhom

26. Jul. 2010 (von: drwhom)

Wicked, I just added a new Go! gif into the folder and pointed it at that. Much neater. Thanks Joern. My only confusion now (!) is that when I add anything onto the nav bar it automatically adds it onto…

Re: Moving the search bar :: Reply by Joern

26. Jul. 2010 (von: Joern)

right, your navbar entries are in a div:Code:#page-bar {width:722px;}I think now you could change this toCode:#page-bar {width:940px;}and use a bigger go.gif...good luck____________________you find me on Google+, Twitter and Facebook Weiterlesen →

Re: Moving the search bar :: Reply by drwhom

26. Jul. 2010 (von: drwhom)

BLESS YOU YOU WONDERFUL INTERNET STRANGER! Weiterlesen →

Re: Moving the search bar :: Reply by Hanscrafter

12. Aug. 2010 (von: Hanscrafter)

Nevermind: turns out I needed to limit the size of the navbar. Sorry to reopen this, but I definitely cannot move my search box. My problem is a bit different though in that I had commented it out of the…

Re: Moving the search bar :: Reply by Joern

18. Aug. 2010 (von: Joern)

this is solved I guess?____________________you find me on Google+, Twitter and Facebook Weiterlesen →

Autor:

Du findest mich auch auf Google+, Twitter und Facebook!

Schreibe einen Kommentar

Pflichtfelder sind mit * markiert.


weitere forum Beiträge: