• I’m new to wordpress and searched here first before posting. I have added a logo to display at the top of my sidebar, by adding the code directly to the template file. Fine, but widgets now display on top of it. How can I simply have the widgets begin displaying lower down the sidebar? Is this a CSS issue?

    Thanks

Viewing 4 replies - 1 through 4 (of 4 total)
  • you need to put the logo code before the dynamic sidebar code in theme’s sidebar.php

    Thread Starter cdickman

    (@cdickman)

    Thank you for your reply. I thought I had done that. I have attached the code, which shows the top div containing the logo and a search form.

    <!--- Sidebar Starts -->
    
    		<div id="sidebar" class="right-col">
    
    			<div id="search"><img src="/wp-content/80pix-animatedlogo.gif" style="margin-top:20px;margin-left:25px;">
    				<form method="get" id="searchform" action="<?php bloginfo('url'); ?>/">
    					<div>
    						<input type="text" class="search_box" name="s" id="s" />
    						<input type="image" src="<?php bloginfo('template_directory'); ?>/images/search.gif" class="submit" name="submit" />
    					</div>
    				</form>
    			</div>
    
    			<div id="sidebar_in">
    
    			<?php if (function_exists('dynamic_sidebar') && dynamic_sidebar(1) ) : else : ?>
    
    			<?php endif; ?>
    
    			</div>
    
    		</div>
    
    		<!--- Sidebar Ends -->

    seems to me that should work
    try removing widgets – does it come to top?
    then if you add widget, does it move down?

    Thread Starter cdickman

    (@cdickman)

    adding and removing widgets doesn’t change the position of the logo and form, which remain at the top of the sidebar. An added widget displays in the same place as these, at the top of sidebar. Is there code I can add to the first widegt definition to have it display lower?

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘moving down widgets in sidebar’ is closed to new replies.