Title: Decrease Space Below &quot;YOU MAY ALSO LIKE&#8230;&quot; On Post
Last modified: August 31, 2016

---

# Decrease Space Below "YOU MAY ALSO LIKE…" On Post

 *  Resolved [AZBros](https://wordpress.org/support/users/azbros/)
 * (@azbros)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/decrease-space-below-you-may-also-like-on-post/)
 * This is another thing that I’m sure is easy to accomplish, but I’m having issues
   with it. I’d like to decrease the space below the words “YOU MAY ALSO LIKE…” 
   and above the featured images in the related posts area. I’ve tried changing 
   some things with h4.heading, but that didn’t do anything. I was able to change
   the color of that font (which I wanted to do) and see how I can change the font
   itself (which I’m considering), but decreasing the space from under it has proven
   to be more difficult.
 * I’d appreciate it if someone could lead me in the right direction. Thanks!

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

 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/decrease-space-below-you-may-also-like-on-post/#post-7420273)
 * > h4.heading, but that didn’t do anything.
 * That’s the correct selector. Can you post the CSS you tried?
 *  Thread Starter [AZBros](https://wordpress.org/support/users/azbros/)
 * (@azbros)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/decrease-space-below-you-may-also-like-on-post/#post-7420277)
 * I just tried adding things like padding-bottom: 0px and margin-bottom: 0px to
   see what would happen and nothing did. Right now, whatever the default spacing
   is set to isn’t so bad, but I’d like to decrease it by a little to make my overall
   design more consistent.
 * I tried this as a test:
 *     ```
       h4.heading {
       color: #000; margin-bottom: 0px; padding-bottom: 0px;
       }
       ```
   
 * The color changed, but the spacing below the words stayed the same.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/decrease-space-below-you-may-also-like-on-post/#post-7420295)
 * This is the default style:
 *     ```
       .heading {
           margin-bottom: 1em;
       }
       ```
   
 * The padding wouldn’t have any affect since there isn’t any to start with, but
   your margin style should have removed the spacing. And, when I apply your code
   to the demo site, it does remove the spacing. So, not sure what the issue is.
   What if you apply the !important run to the margin?
 *     ```
       h4.heading {
       color: #000; margin-bottom: 0 !important;
       }
       ```
   
 *  Thread Starter [AZBros](https://wordpress.org/support/users/azbros/)
 * (@azbros)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/decrease-space-below-you-may-also-like-on-post/#post-7420308)
 * Hhm… okay, I just tried the following code and got it to lower where I wanted
   it:
 *     ```
       h4.heading {color: #000; margin-bottom: -1em;}
       ```
   
 * First I tried adding to the number to see if the space would be increased and
   it did. Then I tried 0 again and it was spaced the way it was originally. Then
   it occurred to me that I hadn’t tried a negative number yet. Oddly, it worked.
   Would there be any issues setting it up like this? Everything looks fine so far,
   so hopefully this is the correct solution.
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/decrease-space-below-you-may-also-like-on-post/#post-7420310)
 * Even using the !important rule it didn’t work? I find it very odd that zero would
   not remove the spacing; logically that doesn’t make sense.
 * Negative margins. Some people use them, others think they should be avoided at
   all costs. They do have some useful applications. In fact, the Hueman theme makes
   use of them to horizontally position the sidebars and content area. So, if the
   negative margin worked for you, then that’s what you go with. Here’s an interesting(
   dated but still applicable) article about some of the uses for negative margins:
   [https://www.smashingmagazine.com/2009/07/the-definitive-guide-to-using-negative-margins/](https://www.smashingmagazine.com/2009/07/the-definitive-guide-to-using-negative-margins/)
 *  Thread Starter [AZBros](https://wordpress.org/support/users/azbros/)
 * (@azbros)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/decrease-space-below-you-may-also-like-on-post/#post-7420320)
 * I tried the !important rule and nothing changed. The only thing that lowered 
   the headline text was the negative margin. Hopefully I don’t run into any issues
   using this, but if I do I can always go back to the standard set-up. And I’ll
   be sure to check out that article. Thanks!
 *  [osiris1@yahoo.com](https://wordpress.org/support/users/osiris1yahoocom/)
 * (@osiris1yahoocom)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/decrease-space-below-you-may-also-like-on-post/#post-7420446)
 * How do i populate “YOU MAY ALSO LIKE…” images? Where do the images come from?
 *  [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * (@bdbrown)
 * [9 years, 11 months ago](https://wordpress.org/support/topic/decrease-space-below-you-may-also-like-on-post/#post-7420447)
 * @osiris1 – This topic is marked as Resolved and your question is different. Please
   start a new topic here: [https://wordpress.org/support/theme/hueman#postform](https://wordpress.org/support/theme/hueman#postform).
   
   Thank you.

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

The topic ‘Decrease Space Below "YOU MAY ALSO LIKE…" On Post’ is closed to new replies.

 * ![](https://i0.wp.com/themes.svn.wordpress.org/hueman/3.7.27/screenshot.png)
 * Hueman
 * [Support Threads](https://wordpress.org/support/theme/hueman/)
 * [Active Topics](https://wordpress.org/support/theme/hueman/active/)
 * [Unresolved Topics](https://wordpress.org/support/theme/hueman/unresolved/)
 * [Reviews](https://wordpress.org/support/theme/hueman/reviews/)

## Tags

 * [h4](https://wordpress.org/support/topic-tag/h4/)
 * [heading](https://wordpress.org/support/topic-tag/heading/)
 * [post nav](https://wordpress.org/support/topic-tag/post-nav/)
 * [You may also like](https://wordpress.org/support/topic-tag/you-may-also-like/)

 * 8 replies
 * 3 participants
 * Last reply from: [bdbrown](https://wordpress.org/support/users/bdbrown/)
 * Last activity: [9 years, 11 months ago](https://wordpress.org/support/topic/decrease-space-below-you-may-also-like-on-post/#post-7420447)
 * Status: resolved