ThemeShaper Forums » Thematic

Add search form inside the access div

(7 posts)
  • Started 2 years ago by srobles
  • Latest reply from cotinus
  • This topic is resolved
  1. Hi,

    Im working in my new site using WP/Thematic, and have a question.. here's the site(1), and I want to add the WP search form next to the main menu elements, like this(2), but dont know what is the optimal way of doing that... is there a Hookup? or should I go directly to the PHP code ?...

    Thanks,

    (1)http://miblog.kamikazedesarrollo.net/
    (2)http://miblog.kamikazedesarrollo.net/UI-2009.jpg

    Posted 2 years ago #
  2. amygail
    Member

    I'd figure out where you want to hook it into
    look here for a list of hooks
    http://themeshaper.com/thematic/guide/?page_id=10

    then add the action to your functions.php

    like so:
    add_action('thematic_before', 'thematic_search_form');

    Posted 2 years ago #
  3. Hi,

    Cristi from Cozmoslabs wrote an excellent guideline for this:

    Add a search box to the Thematic menu

    Chris

    Posted 2 years ago #
  4. Thanks for the anwers, I was able to add it :)

    Posted 2 years ago #
  5. cotinus
    Member

    Thanks for the tip. Unfortunately, the search box drops in IE6, below the access div. It displays in the same vertical location to the right, but it is horizontally below the access div.

    Any suggestions for how to resolve the drop?

    Posted 2 years ago #
  6. cotinus
    Member

    Search box also drops in IE7 in Windows XP and Safari 4.02 on Mac OS 10.5.7. Displays correctly in IE8, Opera 9.64, and Firefox 3.5 in Windows Vista.

    Has anyone successfully styled the search box to display correctly in IE7 and Safari?

    Posted 2 years ago #
  7. cotinus
    Member

    The containing div, in this case, the "access" div needs to have "position: relative" set in order for the absolute positioning of the search box to work in Cozmoslabs solution.

    Posted 2 years ago #

RSS feed for this topic

Reply

You must log in to post.