Ready to get started?Download WordPress


[resolved] Removing gap from top of website (3 posts)

  1. tabbyfoo
    Posted 1 year ago #

    I did web design back 15 years ago, but when CSS started to be the norm, I changed careers and never got to understand it. I'm using wordpress to make a site for our cub scout pack, and the template I used is fine on other sites, but on mine, it has a big gap between the top of the page and the header image, and I can't find where the problem is. If someone could look at it and help me, I would really appreciate it.


  2. Tarsem Singh
    Posted 1 year ago #

    Just add margin-top:-20px; in your style.css line no#20

    body {
    margin-top: -20px;
    .... other stuff


  3. tabbyfoo
    Posted 1 year ago #

    I had to make it -50, but that did the trick! Thanks so much!

Topic Closed

This topic has been closed to new replies.

About this Topic