• Another new guy here. I have been trying to get a web site going using Twenty Eleven. Everything seems to be working ok, except I have a huge gap between the header and the content. It is like this on every page.
    I have searched for this issue and found several solutions to add to the child theme, but none of them worked for me. No matter what I try, the gap will not go away. I know I must be doing something wrong, and would appreciate any help.

    Web site is here, if anyone wants to take a look:
    https://www.gillaspiephotography.com

    Thanks,
    Jim

Viewing 7 replies - 1 through 7 (of 7 total)
  • Jim
    Did you try adding this to your child theme CSS style sheet?

    .singular.page .hentry {
    padding: 0px 0px 0px;
    }

    Jonathan

    Thread Starter agerholm

    (@agerholm)

    Sure did. Also a couple of other similar items. None seem to do the trick for me. Thanks for the suggestion, though.

    Where did you add the code..

    Try Custom CSS Plugin if you are not using child theme.

    And add the following code to it.

    /*To remove padding above page content */
    .singular.page .hentry {
    padding: 0px;
    }
    /*To remove padding above page main content area*/
    #main {
    padding: 0;
    }
    /* To remove margin below nav-menu */
    #access {
    margin-bottom: 0px;
    }

    Thread Starter agerholm

    (@agerholm)

    The code was added to a child theme, but with no success. I had not heard about Custom CSS plugin, and just gave it a try with the code Bravokeyl suggested. It helped a lot – thanks!

    Great! agerholhm…

    One guess why it didn’t work when you put this code in the child theme is that you didn’t activate the child theme…

    Thread Starter agerholm

    (@agerholm)

    Right again! I didn’t even think about the need to activate the child theme. No wonder it didn’t seem to make any difference when I added code to it!
    Doh!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Huge Gap Between Header and Content’ is closed to new replies.