Support » Fixing WordPress » Sidebar Widgets plugin/search code in text?

  • 1st I need to say..I am not a webhead in any way shape or form. I do seem to be pretty good at finding the info I want and following directions. I may not know the right words to search by to find what I am currently seeking.

    I don’t like the way the “search” in the “sidebar widgets plugin” is so very close to the item above it. All the other items have headings for lack of a better word. Is it possible to place the code snippet for the search in a text box so I can add a heading?

    What would that code snippet be if I wanted the search box NEXT to the seach button….or can some one point me in the right direction to c/p the snippet?

    By the by ~ the calendar in the widget plugin was taking the whole of the side bar to the bottem of the page and spreading the dates out horizontal. I decided not to use it at all. Kinda odd I thought.

    Thank you for your time and understanding,

Viewing 4 replies - 1 through 4 (of 4 total)
  • Not sure where you’ll find the code, but your strange formatting problems may have more to do with the sidebar style specified in your theme’s stylesheet.

    You’d have to understand HTML/CSS to check this out and/or edit it. Go to your admin area -> Click on ‘Presentation’ -> Click on ‘Theme Editor’ below that -> Edit your theme’s Stylesheet.

    Hope this helps. 😉

    Thanks for the reply…. you are correct I need to know more CSS to edit the style sheet. I do know some HTML but figured not enough to bother to fix the calendar. One day I will take the time.

    I choose the Blue Horizon theme with Sidebar widget support because of the widget support.

    Again, thanks for the reply.


    I located this bit of code

  • <?php include (TEMPLATEPATH . ‘/searchform.php’); ?>
  • in this file


    if that is all of the code one uses for a “search” in the side bar, then sadly that code will not work in a “text” block of widget for the new plugin.

    Does anyone have a moment to tell me is that is indeed the whole code for a “search”

    Thanks oodles!


don’t know if you’ve sorted this now or not, but in CSS add an item like this

#searchform {padding-top:6px;}

replacing searchform for whatever the id is, this will put space between the search and the item above it.

cant help apart from that, i dont know enough!!

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Sidebar Widgets plugin/search code in text?’ is closed to new replies.