Title: Remove spaces?
Last modified: August 18, 2016

---

# Remove spaces?

 *  [Tons](https://wordpress.org/support/users/tons/)
 * (@tons)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/remove-spaces/)
 * Could someone please tell me how I can remove the spaces between the date, the
   title and the content? I would like a <BR> as opposed to a but can’t find where
   to edit this.
    Here is the blog page [http://www.fetal.ca](http://www.fetal.ca)
   showing the spaces and here is the code that calls the content. <!– // loop start–
   > <?php foreach ($posts as $post) { start_wp(); ?> <?php the_date(“D M d Y”,”
   <h4><I>”,”</I></h4>”); ?> ” rel=”bookmark” title=”Read More: <?php the_title();?
   >”><b> <?php the_title(); ?> </b> <?php the_content(); ?> <?php link_pages(“Pages:“,”“,”
   number”) ?> <?php } ?> <!– // loop end –> Thanks for your help.

Viewing 3 replies - 1 through 3 (of 3 total)

 *  [deiri87](https://wordpress.org/support/users/deiri87/)
 * (@deiri87)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/remove-spaces/#post-28631)
 * look under your wp-layout.css file.
    specifically, the : h2 tag h3 tag .meta,.
   meta a .story title and so forth. it could be your cell padding thats making 
   the spaces. look around those css properties.
 *  [davidchait](https://wordpress.org/support/users/davidchait/)
 * (@davidchait)
 * [22 years, 3 months ago](https://wordpress.org/support/topic/remove-spaces/#post-28643)
 * Tons:
    You can just add a `<BR>` after each meta element if you want to force
   linebreaks. like: ` <?php the_title(); ?> <BR/>  That make sense? =d
 *  Anonymous
 * [22 years, 3 months ago](https://wordpress.org/support/topic/remove-spaces/#post-28647)
 * I’m a bit confused so i’ll try to explain both of things I’m thinking of
    Basically
   H4 is a block level element so you could change it by doing something like h4{
   display:inline;} would give you DATE TITLE If its just the space you want rid
   of rather than have them inline then you could do h4 { padding: 2px 0 0 2px; 
   margin:0; } should give DATE TITLE Which should close up the space between the
   line – there may even be scope for using line-height but try the above before
   you do to see if it works

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Remove spaces?’ is closed to new replies.

 * 3 replies
 * 4 participants
 * Last reply from: Anonymous
 * Last activity: [22 years, 3 months ago](https://wordpress.org/support/topic/remove-spaces/#post-28647)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
