WordPress.org

Ready to get started?Download WordPress

Forums

Sidebar Widgets plugin/search code in text? (5 posts)

  1. nospoon3
    Member
    Posted 8 years ago #

    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,
    nospoon

  2. psfugaro
    Member
    Posted 8 years ago #

    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. ;)

  3. nospoon3
    Member
    Posted 8 years ago #

    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.

    nospoon

  4. nospoon3
    Member
    Posted 8 years ago #

    I located this bit of code

  5. <?php include (TEMPLATEPATH . '/searchform.php'); ?>
  6. in this file

    /wp-content/plugins/widgets/default/sidebar.php

    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!

    nospoon

  • Alex Cragg
    Member
    Posted 7 years ago #

    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!!

  • Topic Closed

    This topic has been closed to new replies.

    About this Topic

    Tags