SitePoint Sponsor

User Tag List

Results 1 to 6 of 6
  1. #1
    SitePoint Member
    Join Date
    Apr 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Need to add search box to navigation menu bar

    Hi,

    My website is www.fat2fitsteps.com

    I would like to add a search box to menu bar. Can someone tell me how to do it using CSS?

    I have some experience with CSS but not much with PHP...

    I am using "my custom CSS" plugin to modify the CSS. Have never modified any PHP files before. And I have not yet created a child theme.

    Can someone point me in right direction on how I can achieve this?

    thanks

  2. #2
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,658
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Google custom search will give you all you need

  3. #3
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,317
    Mentioned
    462 Post(s)
    Tagged
    8 Thread(s)
    Hi Santr123. Welcome to the forums.

    We can help you in this forum with styling the search box, but for in-depth advice on setting up the form, you'd need something like the CMS forum. Basically, though, if you want to use the WP search functionality, presumably you first have to go into your files (sidebar.php?) and move the search form code up into the "container" div.

    Or you could ditch the WP form altogether and go for a Google search form, as Eric suggested.

  4. #4
    SitePoint Member
    Join Date
    Apr 2013
    Posts
    2
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks I will try the CMS forum...

  5. #5
    It's all Geek to me silver trophybronze trophy
    ralph.m's Avatar
    Join Date
    Mar 2009
    Location
    Melbourne, AU
    Posts
    24,317
    Mentioned
    462 Post(s)
    Tagged
    8 Thread(s)
    Off Topic:

    No probs Thread moved.

  6. #6
    SitePoint Enthusiast Janeth's Avatar
    Join Date
    Jan 2004
    Location
    Colombia
    Posts
    61
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Quote Originally Posted by Santr123 View Post
    Hi,

    My website is www.fat2fitsteps.com

    I would like to add a search box to menu bar. Can someone tell me how to do it using CSS?

    I have some experience with CSS but not much with PHP...

    I am using "my custom CSS" plugin to modify the CSS. Have never modified any PHP files before. And I have not yet created a child theme.

    Can someone point me in right direction on how I can achieve this?

    thanks
    Not sure how you would do it using nothing but CSS however you could use a widget and CSS to get it like you want.


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •