Title: Adding horizontal space
Last modified: August 30, 2016

---

# Adding horizontal space

 *  [Bookscrounger](https://wordpress.org/support/users/bookscrounger/)
 * (@bookscrounger)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/adding-horizontal-space/)
 * I could not find this solution on the forum, and discussions of it were closed.
 * To add horizontal space, in the text editor use the open and close code tags (
   not smart enough to show the code here, but it’s “_open chevron_ code _close 
   chevron_, then _open chevron slash_ code _close chevron_“) and in between the
   two simply hit the space bar for as many spaces as you need.

Viewing 1 replies (of 1 total)

 *  [CrouchingBruin](https://wordpress.org/support/users/crouchingbruin/)
 * (@crouchingbruin)
 * [10 years, 4 months ago](https://wordpress.org/support/topic/adding-horizontal-space/#post-6861320)
 * Generally it’s not a good idea to hard code spaces when trying to position an
   object because you need to account for different screen widths. Better to use
   CSS and set either a margin-left/margin-right or padding-left/padding-right property.
 * However, for those times for which you do want to add a few space characters,
   best to use the [escape code](http://www.theukwebdesigncompany.com/articles/entity-escape-characters.php)
   for a non-breakable space. That is, add this through your text editor for each
   space that you want:
 *     ```
       &nbsp;
       ```
   
 * That is, an ampersand followed by the characters **nbsp** followed by a semicolon.
   So if you wanted five blank spaces in a row, you just put five of those escape
   characters one after the other:
 *     ```
       &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Adding horizontal space’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [CrouchingBruin](https://wordpress.org/support/users/crouchingbruin/)
 * Last activity: [10 years, 4 months ago](https://wordpress.org/support/topic/adding-horizontal-space/#post-6861320)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
