WordPress fun

2008-10-20

The blog is finally taking shape as it becomes more customised and what I wanted it to be, but alas the search bar holts my advance. How it does this is simple, it won’t resize.

I Started with a very plain theme for the blog; Complete black and some sidebars and header/footer’s  - not exactly amazing stuff.

Since then I changed lots about, added sections, deleted section, moved things, added the logo at the top and finally *tried* to change the size of the search bar (it used to be at the bottom of the pasge, unmarked (???).

I have tried everything I could think of to fix this but I still don’t understand it. I can move it, delete it, but not resize it.

How strange… anyway haven’t got much time tonight so I’ll try and find the answer tomorrow.

Until then,

Sam

6 comments

  1. Hello Sam,
    I’m Andrea from ‘pacquola.org’ :)

    The search bar can be resized.
    Its width is defined by this stylesheet instruction:

    form#search input (
    width: 250px;
    margin-bottom: 20px;
    )

    If you don’t like to see it at the bottom of the page, you can place it in one of the sidebars. There are two ways to do this:

    As a widget: In this manner the default search bar placed at the bottom disappears.

    Statically: putting in one of the sidebars the following code:

    Search
    <form id=”searchbar” method=”get” action=”">

    The width of the searchbar, in this case, is defined by the following stylesheet statement:

    div.box input#s {
    width : 130px;
    }

    If you feel confortable with “Tomorrow” there is a new version available, I hope you like it …

    Andrea, 25 November, 2008
  2. Oops, the code of the static sidebar doesn’t show up; here it is:

    <div class="box">
    <h4>Search</h4>
    <form id="searchbar" method="get" action="<?php bloginfo('url'); ?>">
    <div><label for="s"><input type="text" value="" name="s" id="s" /></label></div>
    </form>
    </div>

    Andrea, 25 November, 2008
  3. Hi Andrea!

    Thanks for the advise,i’ll try implementing it tonight and write back here if it works.

    As for the new version, I’ll take a look but im quite happy with this for now, as the edits I have made to it seem to fit all my needs.

    Thanks alot for the info, just out of interest, how did you find ITBR?

    Sam

    P.S:

    sorry if my grammar is poor right now, im using a PDA on the train so typing is difficult.

    admin, 26 November, 2008
  4. Thanks a lot Andrea!

    I just managed to sort it out via my PDA and as far as I can see, it works!

    Thanks alot,
    Sam

    admin, 26 November, 2008
  5. Hello Brian,

    thanks!

    >just out of interest, how did you find ITBR?

    :) …googling the footer “tomorrow by pacquola.org”; it’s a way to have a “technical” feedback of the theme.

    Andrea, 27 November, 2008
  6. I see :)

    Well, thanks for dropping by Andrea- good luck with your future developments.

    Thanks a lot for the skin and help modding it :)

    Sam

    admin, 27 November, 2008

Leave a comment