Title: Removing Whitespace wpcom-theme
Last modified: September 1, 2016

---

# Removing Whitespace wpcom-theme

 *  Resolved [n](https://wordpress.org/support/users/aroxeadmin/)
 * (@aroxeadmin)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/removing-whitespace-wpcom-theme/)
 * Hello! I am attempting to remove the whitespace from above my landing page’s “
   Learn More Section” there is no text in this area and it is purely white blank
   space. Thanks! [http://www.aroxe.com](http://www.aroxe.com)
 * edit** I am thinking the change may need to reference an exception to versions
   with space in the PHP of the template in particular as it is applied to pages
   both with and without content in that area.

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

 *  [Siobhan](https://wordpress.org/support/users/siobhyb/)
 * (@siobhyb)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/removing-whitespace-wpcom-theme/#post-7487913)
 * Hi there!
 * You can remove that space with some custom CSS.
 * To add custom CSS, firstly [set up a child theme](https://codex.wordpress.org/Child_Themes)
   or [activate a custom CSS plugin](https://wordpress.org/plugins/search.php?q=custom+css).
   If you have Jetpack active then you can make use of [its custom CSS module](https://jetpack.com/support/custom-css/).
 * Enter the following snippet in either the editor for your CSS plugin or the style.
   css file of your child theme:
 *     ```
       .home .hentry {
           padding-top: 0;
       }
       ```
   
 * Hope that’s helpful! Let me know how it goes or if you have any further questions.
 *  Thread Starter [n](https://wordpress.org/support/users/aroxeadmin/)
 * (@aroxeadmin)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/removing-whitespace-wpcom-theme/#post-7487973)
 * Great, will this remove the space for all of my pages though? Some of the pages
   still feature the black text and I do not want them to disappear, is there a 
   way to make this specific to the pages without text? Thank you!
 *  [Siobhan](https://wordpress.org/support/users/siobhyb/)
 * (@siobhyb)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/removing-whitespace-wpcom-theme/#post-7487986)
 * I used the **.home** class in the above snippet so that it will only remove space
   from your site’s home page, it won’t have any impact on other pages on your site.
 * Are there any pages other than your home page that you want to remove space from?
   If so, let me know the specific pages and I’ll guide you on how to target them
   specifically.
 * Thanks!
 *  Thread Starter [n](https://wordpress.org/support/users/aroxeadmin/)
 * (@aroxeadmin)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/removing-whitespace-wpcom-theme/#post-7487994)
 * This has worked wonderfully! If you wouldn’t mind I would appreciate learning
   how to apply this to additional pages although I believe ‘home’ was the major
   page in need of this change.
 *  [Siobhan](https://wordpress.org/support/users/siobhyb/)
 * (@siobhyb)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/removing-whitespace-wpcom-theme/#post-7488031)
 * Sure! The first step is to find a class the uniquely identifies your page.
 * You can use your browser’s inspector tools to do this, as explained in the tutorials
   and video screencasts here:
 * [https://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/](https://en.support.wordpress.com/custom-design/how-to-find-your-themes-css/)
 * I followed the steps to inspect your site’s About page in Chrome and, from the
   following screenshot, you can see that there’s a “page-id-2” class in that page’s
   main body tag:
 * [⌊Screen Shot 2016 06 20 at 18 13 49⌉⌊Screen Shot 2016 06 20 at 18 13 49⌉[
 * I can therefore replace **.home** in the CSS snippet with **.page-id-2** to target
   your site’s About page:
 *     ```
       .page-id-2 .hentry {
           padding-top: 0;
       }
       ```
   
 * Let me know if that’s clear of if any questions come up. I’ll be happy to help
   further.
 *  Thread Starter [n](https://wordpress.org/support/users/aroxeadmin/)
 * (@aroxeadmin)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/removing-whitespace-wpcom-theme/#post-7488042)
 * Awesome, thank you!
 *  [Siobhan](https://wordpress.org/support/users/siobhyb/)
 * (@siobhyb)
 * [10 years, 2 months ago](https://wordpress.org/support/topic/removing-whitespace-wpcom-theme/#post-7488044)
 * You’re welcome! 🙂 You know where to find us if anything else comes up, too.

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

The topic ‘Removing Whitespace wpcom-theme’ is closed to new replies.

## Tags

 * [wpcom-theme](https://wordpress.org/support/topic-tag/wpcom-theme/)

 * 7 replies
 * 2 participants
 * Last reply from: [Siobhan](https://wordpress.org/support/users/siobhyb/)
 * Last activity: [10 years, 2 months ago](https://wordpress.org/support/topic/removing-whitespace-wpcom-theme/#post-7488044)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
