Need help? Check out our Support site, then


moving image closer to header on homepage only

  1. Hi,

    I'm trying to move the image on my homepage closer to the top of the page - ideally, I would like to align it with "about" on the left sidebar.

    I only want this change on the homepage as the other pages are fine.

    Many thanks in advance!

    Site: http://onrelating.com/

    The blog I need help with is onrelating.com.

  2. Start with this, but edit your main page and remove the blank paragraph that is above the image. The 2.5 top margin is for the pages with titles such as about. The 0 top margin in .home #primary is for the main page. The two require different margins because the about page has a title and the home page does not.

    #primary {
    margin-top: 2.5rem;
    }
    
    .home #primary {
    margin-top: 0;
    }
  3. Super, it worked perfectly. Thanks so much!

  4. You are welcome.

Topic Closed

This topic has been closed to new replies.

About this Topic