• I’ve been trying to align the search box on the sidebar of this page to the left. I don’t understand why it won’t go left. <Div> left doesn’t work.
    The list tags that should format the same as the rest of the sidebar don’t work. Putting align=”left” in the form tag doesn’t work.

    I don’t see anything defined as going right above the search box. ??

    I tried replacing the template’s search box with Search Anything, but it didn’t provide a new search box. I tried replacing it with a Google search box, and there’s nothing in it’s code or preferences that will make it go left either.

    What is wrong? T_T

Viewing 2 replies - 1 through 2 (of 2 total)
  • I’m assuming you’re talking about the Google search form in the sidebar?

    From my view, it is aligned left, but it has some additional padding on the left side that is indenting it. Often forms have margins and padding that can make them break your design. It’s always good to set them to zero.

    In your case, you can set the left margin of this form to zero by adding the following style to your wp4.css file.

    #menu ul li form {
    margin-left:0px;
    }

    I hope that helps!

    Thread Starter breakingranks

    (@breakingranks)

    Thanks for your response – that’s what it looks like to me, too.

    But my confusion is that everything else is aligning left. The same CSS elements that align everything else left won’t work on the search box whether it’s the WP box or Google. =/

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Search Box won’t align left’ is closed to new replies.