Mysterious Gap Appears When I Change Fixed Header To Static. How To Fix?

Community Forums Forums Design Tips and Tricks Mysterious Gap Appears When I Change Fixed Header To Static. How To Fix?

This topic is: resolved

This topic contains 1 reply, has 1 voice, and was last updated by  dvempy 9 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #68026

    dvempy
    Member
    Post count: 5

    Hello,

    I am using Eleven40 Pro child theme and I changed the header from “fixed” to “static”.

    I done this through editing style.css from:

    .site-header {
    background: url(images/texture.png);
    min-height: 65px;
    position: fixed;
    width: 100%;
    z-index: 999;

    to:

    .site-header {
    background: url(images/texture.png);
    min-height: 65px;
    position: static;
    width: 100%;
    z-index: 999;

    When saved, a mysterious white gap (about 80px) appears between the header and the main content. Is there any way to fix this?

    Any help is greatly appreciated. :)

    David

    • This topic was modified 9 months, 2 weeks ago by  dvempy.
    • This topic was modified 9 months, 2 weeks ago by  dvempy.
    http://www.salmonds.co.uk
    #68071

    dvempy
    Member
    Post count: 5

    .site-inner {
    margin-top: 0;
    }

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.