Title: Decrease space between title and price
Last modified: January 4, 2021

---

# Decrease space between title and price

 *  Resolved [asapsubham](https://wordpress.org/support/users/asapsubham/)
 * (@asapsubham)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/decrease-space-between-title-and-price/)
 * How can I decrease the spacing between price and title? the space is extra and
   makes it look weird. I want to decrease the space and make it look more consistent.
   Please help me
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fdecrease-space-between-title-and-price%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * (@abhikr781)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/decrease-space-between-title-and-price/#post-13866241)
 * Hello,
 * Please try to add the below CSS code from the Appearance > Customize > Custom
   CSS, and check.
 *     ```
       .product-type-simple > div > ul > li.title {
           margin-bottom: -10px !important;
       }
       ```
   
 *  Thread Starter [asapsubham](https://wordpress.org/support/users/asapsubham/)
 * (@asapsubham)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/decrease-space-between-title-and-price/#post-13866260)
 * thanks a lot abhishek. The code worked but partially. The space reduced but only
   of simple products that do not have any variation. What should i do so that variable
   products also behave the same?
 *  [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * (@abhikr781)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/decrease-space-between-title-and-price/#post-13870817)
 * You are most welcome,
 * Please replace the above code with this one.
 *     ```
       .product-type-simple > div > ul > li.title, .product-type-variable > div > ul > li.title, .product-type-grouped > div > ul > li.title, .product-type-external > div > ul > li.title {
           margin-bottom: -10px !important;
       }
       ```
   
 *  Thread Starter [asapsubham](https://wordpress.org/support/users/asapsubham/)
 * (@asapsubham)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/decrease-space-between-title-and-price/#post-13871849)
 * OMG it worked! thanks a lot you are a saviour
 *  Thread Starter [asapsubham](https://wordpress.org/support/users/asapsubham/)
 * (@asapsubham)
 * [5 years, 5 months ago](https://wordpress.org/support/topic/decrease-space-between-title-and-price/#post-13874452)
 * Thanks
 *  [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * (@abhikr781)
 * [5 years, 4 months ago](https://wordpress.org/support/topic/decrease-space-between-title-and-price/#post-13888085)
 * You are most welcome!.
 * and Glad to hear that your issue has been fixed.

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

The topic ‘Decrease space between title and price’ is closed to new replies.

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

 * 6 replies
 * 2 participants
 * Last reply from: [Abhishek](https://wordpress.org/support/users/abhikr781/)
 * Last activity: [5 years, 4 months ago](https://wordpress.org/support/topic/decrease-space-between-title-and-price/#post-13888085)
 * Status: resolved