Forums

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

  1. tabbyfoo
    Member
    Posted 8 months ago #

    Hello!
    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.

    http://www.pack958.org/cms/

  2. Tarsem Singh
    Member
    Posted 8 months ago #

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

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

    }

  3. tabbyfoo
    Member
    Posted 8 months ago #

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

Reply

You must log in to post.

About this Topic

Tags