control widths on widgets column
-
Hey guys,
I have a wordpress website with two separate columns for the widgets. I’ve edited a theme that already had coding done there so I am almost clueless in the coding scene.
However, I’ve seen blogs that have very “flexible” widget boxes.
The user is able to make a bigger box, and have smaller boxes too… how can I do this?
Thanks!!!
my website is HERE!
-
Hi,
To edit the size of widget you can check the style.css for sidebar width and settings…while for a particular widget you need to modify sidebar.php from the current active theme.
Thanks,
Shane G.
Hmm… I’m not sure, there are no dimensions in css. This is my sidebar.php:
<? // LEFT SIDEBAR ?>
<div id=”leftsidebar”>
<?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(1) ) : else : ?>
- <h2>Recent entries</h2>
-
<?php
- “> <span><?php the_time(‘d.m.y’) ?> – </span><?php the_title() ?>
// I love zinruss studio
query_posts(‘showposts=8’);
?>
<?php if (have_posts()) : while (have_posts()) : the_post(); ?><?php endwhile; endif; ?>
</script>
- <h2>Menu</h2>
-
<?php wp_list_pages(‘title_li=’); ?>
- <h2>Categories</h2>
-
<?php wp_list_cats(‘sort_column=name&optioncount=1&hierarchical=0’); ?>
</script>
<script type=”text/javascript”
src=”http://pagead2.googlesyndication.com/pagead/show_ads.js”>
</script></div><?php endif; ?>
</div>
<? // END LEFT SIDEBAR ?><? // RIGHT SIDEBAR ?>
<div id=”rightsidebar”>- <h2><?php _e(‘Archives’); ?></h2>
<?php if ( function_exists(‘dynamic_sidebar’) && dynamic_sidebar(2) ) : else : ?>
-
<?php wp_get_archives(‘type=monthly’); ?>
<?php /* If this is the frontpage */ if ( is_home() || is_page() ) { ?>
<?php get_links_list(); ?>- <h2><?php _e(‘Meta’); ?></h2>
-
<?php wp_register(); ?>
- <?php wp_loginout(); ?>
- “><?php _e(‘Valid <abbr title=”eXtensible HyperText Markup Language”>XHTML</abbr>’); ?>
- “>Entries (RSS)
- “>Comments (RSS)
- “>WordPress
<?php wp_meta(); ?>
<?php } ?>
<?php endif; ?>
<!– Site Meter XHTML Strict 1.0 –>
<script type=”text/javascript” src=”http://sm5.sitemeter.com/js/counter.js?site=sm5koholic”>
</script>
<!– Copyright (c)2006 Site Meter –></div>
<? // END RIGHT SIDEBAR ?>What’s wrong?
The topic ‘control widths on widgets column’ is closed to new replies.