Title: How to reduce space between two elements?
Last modified: August 22, 2016

---

# How to reduce space between two elements?

 *  [HouseSoul](https://wordpress.org/support/users/housesoul/)
 * (@housesoul)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-to-reduce-space-between-two-elements/)
 * I want to reduce space between two of my element on homepage. Please find attached
   screenshot.
    [ScreenShot](http://postimg.org/image/44hfp08mb/)
 * [http://thecheatcodes.net/pharma/](http://thecheatcodes.net/pharma/)
 * Please it’s urgent !!!!

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

 *  [Levothyroxin](https://wordpress.org/support/users/levothyroxin/)
 * (@levothyroxin)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-to-reduce-space-between-two-elements/#post-5462256)
 * >our .span4 has a margin-left.
    So you have to remove itto reduce the space. 
   To exactly specify the second element you can use an extra class or use the :
   nth-child(n) selector.
 *  Thread Starter [HouseSoul](https://wordpress.org/support/users/housesoul/)
 * (@housesoul)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-to-reduce-space-between-two-elements/#post-5462291)
 * Where to find it ?
 *  Thread Starter [HouseSoul](https://wordpress.org/support/users/housesoul/)
 * (@housesoul)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-to-reduce-space-between-two-elements/#post-5462318)
 * Someone to help me PLEASE !
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-to-reduce-space-between-two-elements/#post-5462351)
 * Try this in your custom css:
 *     ```
       .span4 {margin-left:4px}
       ```
   
 * Alter the value of 4 depending on what space, if any, that you want. If you set
   it to 0, all 3 sliders will fit on one line.
 * I don’t have access to your theme. Most themes have a facility to put in custom
   css. This option may be in Admin page > Appearance > Customise or Admin page 
   > Appearance > Theme options.
 * If your theme doesn’t have this option, you can use a custom css plugin, such
   as this one:
    [https://wordpress.org/plugins/simple-custom-css/](https://wordpress.org/plugins/simple-custom-css/)
 *  Thread Starter [HouseSoul](https://wordpress.org/support/users/housesoul/)
 * (@housesoul)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-to-reduce-space-between-two-elements/#post-5462402)
 * Hi, i’ve done it, but it’s the same thing… 🙁
 *  [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * (@lorro)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/how-to-reduce-space-between-two-elements/#post-5462403)
 * I don’t think its the same. The space is smaller compared to the screen shot 
   in your first post. To remove the space altogether use:
 *     ```
       .span4 {margin-left:0}
       ```
   

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

The topic ‘How to reduce space between two elements?’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 6 replies
 * 3 participants
 * Last reply from: [Peter Lawrenson](https://wordpress.org/support/users/lorro/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/how-to-reduce-space-between-two-elements/#post-5462403)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
