• Even though I’m a total n00b when it comes to css, I was getting along alright… until I hit this wall…

    For the life of me, I cannot figure out how to put the Search field and submit button on the right hand sidebar on their own line! I don’t understand why the next widget in line insists on being to the right instead of below.

    Can somebody please help? This is a modified version of Blue Box 0.1 (https://www.blogohblog.com/wordpress-theme-blue-box/). I’ll post any files that might help.

    Thanks!
    Billy

Viewing 14 replies - 1 through 14 (of 14 total)
  • Thread Starter jeepfreak

    (@jeepfreak)

    Oh yeah, my web address is https://www.bsfab.net
    Thanks!
    Billy

    Think your missing a </ul> after:

    <ul>
    <li id="search" class="widget widget_search"><form id="searchform" method="get" action="https://www.bsfab.net">
    <div>
    <input type="text" name="s" id="s" size="15" />
    <input type="submit" value="Search" />
    </div>
    </form>
    </li>

    And whilst I was looking you have 17 validation errors on the site.

    I had to put four <br /> after the forms </li> in to make it work.

    Thread Starter jeepfreak

    (@jeepfreak)

    @eyephoto:
    Thanks, but I tried adding the </u1> tag… no dice.
    What did you use to check for validation errors?

    @mrkingid:
    I tried adding the four
    tags and it had no effect. :confused:

    Thank you both for your help!

    Billy

    Easy way to check for validation errors as well as analyze the structure of your site is the “Web Developer” plugin for Firefox. Really very useful for testing and bug-hunting your design.

    Not sure if it’s just a typo in your post, but the tag is with the letter L, not the number one.

    As asfodel says you have a possible typo as it should be a lowercase L and not a No. 1:

    </ul>

    [Off Topic] You shouldn’t have to put 4 <br /> after a </li> if you do something else is wrong in the formatting.[On Topic]

    JeepFreak just go here:
    https://validator.w3.org/
    and type in your URL and it will return your errors, nothing major probably just typos but would advise to correct as one error can lead/correct to another.

    Thread Starter jeepfreak

    (@jeepfreak)

    Thank you guys. It was a typo (I tried it both ways just to be sure). Thanks for the validator link too.

    Anyway, the whole widget panel seems to be contained within the following line in the rsidebar.php file
    <?php if ( !function_exists('dynamic_sidebar') || !dynamic_sidebar() ) : ?>

    Where the heck is the separate search field? I don’t want to be modifying core files.

    I could add a search field manually above the widgets and then disable the ‘widgetized’ one, but it seems like it should be easier than that.

    Thanks again for the help guys,
    Billy

    As you say just don’t use the search widget and put:

    <li>
    <?php include (TEMPLATEPATH . '/searchform.php'); ?>
    </li>

    where you want the search or <div> or ….

    That is the easiest way.

    Thread Starter jeepfreak

    (@jeepfreak)

    Alright. I didn’t know if that was kosher or not. It worked. Thank you VERY much. I really appreciate the help.
    Billy

    Good news, it looks a lot better.

    Hello,

    I am having the same problem JeepFreak did with the search field running inline with the next widget. I’ve tried modifying my style.css theme file but I can’t seem to get this resolved. If anyone can help I would appreciate it. My website is https://www.commonwaters.net and I’m using Blue-Box-01 theme.

    Thanks! Valerie

    Me again. I guess I’m not sure what files you are referring to above. I can disable the default search widget, but in which file would I insert the above code that EyePhoto lists? I’m assuming it has something to do with the search, sidebar, or rsidebar PHP files? What is the differnece between rsidebar and sidebar (I only have one sidebar and it’s on the right)?

    Thank you!

    Problem resolved, after blindly inserting code here and there, but ultimately inserting the above code into rsidebar.php after the first
    ul code worked!

Viewing 14 replies - 1 through 14 (of 14 total)
  • The topic ‘Give me a break!!’ is closed to new replies.