WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] Remove blank space where title was - twentytwelve (3 posts)

  1. adameugenio
    Member
    Posted 1 year ago #

    Hello all,

    I am working on http://www.slpainc.com

    I have a child theme and I have edited the content-page.php to remove the title from only the homepage. After getting rid of the homepage title, I am left with a blank space where it used to say "Home." I want the content on the homepage to begin where it used to say "Home." What code do I need to add/change, and where/how do I do it?

    Thanks so much!
    -Adam

  2. WPyogi
    Volunteer Moderator
    Posted 1 year ago #

    Try adding this to your child theme style.css file:

    .home .site-content {
        margin: 0;
    }
    
    .home .site-header {
        padding-bottom: 0;
    }
  3. adameugenio
    Member
    Posted 1 year ago #

    This worked! Thank you!!

Topic Closed

This topic has been closed to new replies.

About this Topic