Forums

Space under my page titles (10 posts)

  1. LarstonM
    Member
    Posted 5 years ago #

    <img src="http://i16.tinypic.com/4pjxird.jpg">

    Does anyone know how i can remove the gap between my page title and my page content? it has nothing to do with the theme im using

  2. Haecceity
    Member
    Posted 5 years ago #

    Can you explain what you mean when you say it has nothing to do with the theme you're using? Presumably the space is determined by your stylesheet, and without seeing your site and stylesheet I don't imagine anyone can give specific help. At least I can't.

  3. LarstonM
    Member
    Posted 5 years ago #

  4. Jeremy Clark
    Moderator
    Posted 5 years ago #

    Edit the page you made to show the space between the titles. But go to code view this time and you'll should see &nbsp;&nbsp; delete these and try again. This tags tell the browser not to adjust the backspacing.

  5. Haecceity
    Member
    Posted 5 years ago #

    Yes, those nonbreaking spaces are probably the problem. It looks like they're forcing an extra line to appear below the heading. I'm assuming you'll find them somewhere in page.php, but I'm not familiar with your theme.

  6. LarstonM
    Member
    Posted 5 years ago #

    <?php get_header(); ?>
    
        <?php if (have_posts()) : while (have_posts()) : the_post(); ?>
    
    		<h1><?php the_title(); ?></h1>
    			<?php the_content(); ?>
    
    	  <?php endwhile; endif; ?>
    
    <?php get_footer(); ?>
    thats my page.php

  7. Haecceity
    Member
    Posted 5 years ago #

    Well, not there then!

    Was that "me" page a Page or a Post?

  8. LarstonM
    Member
    Posted 5 years ago #

    its a Page.

  9. Haecceity
    Member
    Posted 5 years ago #

    Can you post a link to where I could download your theme so I can poke around a bit more? I'm curious to see where the meta div and those nonbreaking spaces are coming from.

  10. LarstonM
    Member
    Posted 5 years ago #

    Ive gotten rid of the big space( i had to change my database for some reason ) now there still is a smaller space, which isn't as big of a deal

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.