• Hi there,

    I have an issue with layout –

    The search textfield has a blockquote tag after it which is forcing the Search button down to the next line, I have looked through all the search related files and found the source for the search field in searchform.php but the blockquote tag isn’t there!

    When I view the source from the site it is definitely there, anyone know what could be generating this and where I can get rid of it? I want the search button to sit next to the search textfield.

    when i view the source of the live page it looks like:

    <input type=”text” name=”s” id=”s” size=”15″ /> < br />
    <input type=”submit” value=”Search” />

    Help me get rid of that !!!!

Viewing 3 replies - 1 through 3 (of 3 total)
  • That’s not a blockquote tag, that’s a line break. Sometimes theme authors don’t use the searhform.php file look for the code in your sidebar.php and header.php. Take out the line break and if there’s room on the line then the button should move up.

    I’m having the same problem. I’ve tried resizing the search field, but the search button won’t bump up onto the same line as the input field. I, too, have seen the line break when I view the source, but cannot find the code in any of my files. I’m guessing it has something to do with the fact that I’m using the widgetized sidebar. Below is the code I thought was relevant from View/Source in my browser. The line break is near the end. Any ideas?

    <div id="sidebar">
    
    		<ul>
    					<li id="text-1" class="widget widget_text">						<div class="textwidget"><p style="padding:6px 8px 6px 6px; color: #555555; background-color: #eeeeee; border: #dddddd 1px solid">
    <span style=" font-weight: Bold ">You found us!</span> Welcome to our corner of the web. Here you'll find some interesting items pertaining to us, Megan and Dave Burlingame. So, come on in. Look around. And don't forget to take off your shoes.</p></div>
    		</li>	<li id="pages" class="widget widget_pages">		<h2 class="widgettitle">The B's</h2>		<ul>
    			<li class="page_item page-item-6"><a href="https://www.theburlingames.com/story/" title="Our Story">Our Story</a></li>
    
    <li class="page_item page-item-5"><a href="https://www.theburlingames.com/photos/" title="Photos">Photos</a></li>
    		</ul>
    	</li>		<li id="recent-posts" class="widget widget_recent_entries">			<h2 class="widgettitle">Recent Posts</h2>			<ul>
    						<li><a href="https://www.theburlingames.com/2007/11/01/post-2/">Post #2! </a></li>
    						<li><a href="https://www.theburlingames.com/2007/10/30/holy-shnikeys/">Holy Shnikeys! </a></li>
    						</ul>
    
    		</li><li id="mycategoryorder" class="widget widget_categories"><h2 class="widgettitle">Posts about...</h2>	    <ul>
    	<li class="cat-item cat-item-1"><a href="https://www.theburlingames.com/category/dave/" title="View all posts filed under Dave">Dave</a>
    </li>
    	<li class="cat-item cat-item-8"><a href="https://www.theburlingames.com/category/megan/" title="View all posts filed under Megan">Megan</a>
    </li>
    	<li class="cat-item cat-item-9"><a href="https://www.theburlingames.com/category/everything-else/" title="View all posts filed under Everything Else">Everything Else</a>
    </li>
    </ul>
    
    </li><li id="archives" class="widget widget_archives"><h2 class="widgettitle">The B's Archive</h2>		<ul>
    			<li><a href='https://www.theburlingames.com/2007/11/' title='November 2007'>November 2007</a></li>
    	<li><a href='https://www.theburlingames.com/2007/10/' title='October 2007'>October 2007</a></li>
    		</ul>
    </li><li id="links" class="widget widget_links"><h2 class="widgettitle">Worth Visiting</h2>
    	<ul>
    <li><a href="https://www.dave-iddesign.com" title="My design work">dave(id) graphic design</a></li>
    
    <li><a href="https://www.friendlystegosaurus.com/" title="An entertaining webcomic with plenty of 80’s references and obscure jokes">Friendly Stegosaurus</a></li>
    
    	</ul>
    </li>
    		<li id="search" class="widget widget_search">			<form id="searchform" method="get" action="https://www.theburlingames.com">
    			<div>
    			<input type="text" name="s" id="s" size="15" /><br />
    			<input type="submit" value="Search" />
    			</div>
    
    			</form>
    		</li>		</ul>
    	</div>

    A little searching yielded the result. Here’s a good tutorial on how to fix the issue.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘search layout problem’ is closed to new replies.