Changing dimensions of my theme's menu

wordpress

#1

Hello everybody,

I need help once more :slight_smile:

This time, I would like to change the size of of my div class=“header” > (I have been experiencing with the “firefox inspector” )
I would like to shorten its length, so that it is not infringing on the content box (where I post my text) and I would like to extend it by 1.20 inches (3cm) on each sides.

Also, I would like to center my blog-title, or logo special-anchor as named by the inspector and have the pages come underneath, on another line (as of now, the pages are on the same line as the blog-title, except if I have 11 pages, only then do they go onto the next line).
Something is weird too, as I click on some pages, some pages’ titles move in my menu box :confused:

Here is my header.php. I do not really know what to change in it :confused:

[code]

> <?php global $data; ?> <?php /* * Print the tag based on what is being viewed. * We filter the output of wp_title() a bit -- see * twentyten_filter_wp_title() in functions.php. */ wp_title( '|', true, 'right' );
?></title>
<?php /* We add some JavaScript to pages with the comment form * to support sites with threaded comments (when in use). */ if ( is_singular() && get_option( 'thread_comments' ) ) wp_enqueue_script( 'comment-reply' );
/* Always have wp_head() just before the closing </head>
 * tag of your theme, or you will break many plugins, which
 * generally use this hook to add elements to <head> such
 * as styles, scripts, and meta tags.
 */
wp_head();

?>

<?php if ($data['outer']) { ?> .outer-wrapper { padding-top: <?php echo $data['outer']; ?>px; } <?php } else {?> <?php }?>
<!--Top menu starts-->
<a href="<?php echo home_url(); ?>" class="logo special-anchor">
<?php if ($data['logo']) { ?><img src="<?php echo $data['logo']; ?>" alt="<?php bloginfo( 'name' ); ?>" /><?php } else {?><h1 class="blog-title"><?php bloginfo( 'name' ); ?></h1><?php }?>
</a>
<ul id="top-menu">
  
    <?php
    global $query_string;
    query_posts($query_string . "post_type=page&post_status=publish&posts_per_page=9999&orderby=menu_order&order=ASC");
    if ( have_posts() ) : while ( have_posts() ) : the_post();
    ?>

    <li> <a href="#/<?php echo the_slug(); ?>" class="special-anchor"><?php the_title(); ?></a> </li>
<?php endwhile; endif; ?>
</ul>

<!--Top menu ends-->
[/code]

Thank you for your help :slight_smile:
Pru