• I already feel ashamed by taking the help of the community. I must say that I do not have much CSS experience and besides from customising the layout and do not know much about it. I have researched the forum trying to resolve my problem but was not successful.

    So here is my problem. I copied a script from technocrati (tagclouds) into my sidebar.php. It is positioned correctly but the whole sidebar moved up and I dont know how to position it back. Taking the script out does not resolve the problem.

    Here is the link http://no-sell-out.com so you see what I am talking about.
    And here is the script:

    <div id="footer">
    
    		<span class="left">&copy; <?=date('Y');?> <a>/"><?php bloginfo('name');?></a>. Valid <a href="http://jigsaw.w3.org/css-validator/check/referer">CSS</a> &amp; <a href="http://validator.w3.org/check?uri=referer">XHTML</a></span>
    
    		<span class="right"><a href="http://templates.arcsin.se">Wordpress theme</a> by <a href="http://arcsin.se">Arcsin</a></span>
    
    		<div class="clearer"><span></span></div>
    
    	</div>
    
    </div>
    
    	<div id="sidebar">
    
    <?php if ( !function_exists('dynamic_sidebar')
            || !dynamic_sidebar() ) : ?>
    
    		<h2 class="decay">Pages</h2>
    
    <ul>
    		<?php wp_list_pages('title_li='); ?>
    		</ul>
    		<h2 class="decay">Categories</h2>
    
    <ul>
    			<?php wp_list_cats('sort_column=name&hierarchical=0'); ?>
    
    </ul>
    		<h2 class="decay">Archives</h2>
    
    <ul>
    			<?php wp_get_archives('type=monthly'); ?>
    		</ul>
    		<h2 class="decay"><?php _e('Blogroll'); ?></h2>
    
    <ul>
    			<?php get_links(-1, '
    
    <li>', '</li>
    ', '', FALSE, 'name', FALSE, FALSE, -1, FALSE); ?>
    		</ul>
    		<h2 class="decay">Search</h2>
    
    <ul>
    <li>
    			<form method="get" id="searchform" action="<?php echo $_SERVER['PHP_SELF']; ?>">
    
    				<input type="text" value="<?php echo wp_specialchars($s, 1); ?>" name="s" id="s" size="12" class="sfield" /> <input type="submit" id="sidebarsubmit" value="Search" style="font-size: 10px;" />
    
    			</form>
    
    </li>
    </ul>
    		<h2 class="decay"><?php _e('Meta'); ?></h2>
    
    <ul>
    <li><a>" title="<?php _e('Syndicate this site using RSS'); ?>"><?php _e('<abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    <li><a>" title="<?php _e('The latest comments to all posts in RSS'); ?>"><?php _e('Comments <abbr title="Really Simple Syndication">RSS</abbr>'); ?></a></li>
    <li><a href="http://validator.w3.org/check/referer">"><?php _e('Valid <abbr title="eXtensible HyperText Markup Language">XHTML</abbr>'); ?></a></li>
    <li><a href="http://gmpg.org/xfn/"><abbr title="XHTML Friends Network">XFN</abbr></a></li>
    			<?php wp_meta(); ?>
    
    </ul>
    	<script src="http://widgets.technorati.com/t.js" type="text/javascript"> </script>
              <a href="http://technorati.com/blogs/{http://no-sell-out.com}?sub=tr_tagcloud_t_ns">View blog top tags</a>
    <div id="navigation">
    
    <?php endif; ?>
    
    	</div>
    
    </div>
Viewing 1 replies (of 1 total)
  • Try adding this to your CSS file (style.css):

    #sidebar {
    width:250px;
    margin-top:290px;
    }

    My guess is that this didn’t just happen as a result of placing the script, but because of a change to the CSS. Could be wrong . . .

Viewing 1 replies (of 1 total)

The topic ‘CSS Sidebar Moved up’ is closed to new replies.