• Resolved -Julian-

    (@-julian-)


    Hi guys,

    I’m working on my own WP theme, but I have a problem. I can’t change the space between the title and the site description.

    This is my CSS:

    /*
    
    Theme Name: Elexode
    Theme URI: http://www.elexode.nl
    Author: Julian Quispel
    Author URI: http://www.twitter.com/julianquispel
    Description: The official Elexode theme for WordPress.
    Version: 1.0
    
    */
    
    /* Own content */
    
    body {
    	margin:0;
    	padding:0;
    	font-family: 'Alegreya Sans', sans-serif;
    	background:#CCC;
    }
    
    h1 {
    	font-size:72px;
    	margin:0;
    	padding:0;
    	font-weight:normal;
    }
    
    h3 {
    	font-size:24px;
    	padding:0;
    	margin:0;
    }
    
    #wrapper {
    	margin:5px 20px;
    	background-color:#FFF;
    	padding:0;
    }
    
    #header {
    	padding:0;
    	margin:0;
    }
    
    #logo {
    	padding:20px;
    }
    
    #logo h1 {
    	padding:0;
    	margin:0;
    }
    
    #logo h3 {
    	padding-left:5px;
    }
    
    #logo a {
    	text-decoration:none;
    	color:#000;
    }
    
    #logo a:hover {
    	color:#999;
    }
    
    #navmenu {
    	background:#000;
    	padding:0;
    	margin:5px;
    }
    
    #navmenu ul {
    	list-style:none;
    	margin:0;
    	padding:0;
    }

    And my header:

    <!DOCTYPE html>
    <html>
    <head>
    <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <title><?php bloginfo('title');?></title>
    <link href='http://fonts.googleapis.com/css?family=Alegreya+Sans' rel='stylesheet' type='text/css'>
    <link href="<?php bloginfo('stylesheet_url'); ?>" rel="stylesheet" type="text/css" />
    </head>
    <body>
    	<div id="wrapper">
            <div id="header">
                <div id="logo">
                	<h1><a href="<?php echo get_option('home'); ?>"><?php bloginfo('name'); ?></a></h1>
                    <h3><?php bloginfo( 'description', 'display' ); ?></h3>
                </div>
                <div id="navmenu">
                    <?php wp_nav_menu( array( 'theme_location' => 'main-menu' ) ); ?>
                </div>
            </div>
       </div>

    I hope you could help me

    Greetings,

    Julian

Viewing 1 replies (of 1 total)
  • It’s really not possible to help with CSS questions without seeing the actual site – can you post a link to it?

    Or a browser tool like Firebug should show you what CSS is causing that space.

Viewing 1 replies (of 1 total)
  • The topic ‘Space between title and description’ is closed to new replies.