• Resolved markuswesterberg

    (@markuswesterberg)


    Hi,

    I use some custom css to remove the space between header and content. This works great on all pages but the homepage. Can you please tell me how to solve this?

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Job a11n

    (@jobthomas)

    Automattic Happiness Engineer

    Hi @markuswesterberg – this particular margin is what is causing the space on your homepage:


    Link to image: https://cld.wthms.co/8G9Sy5

    Thread Starter markuswesterberg

    (@markuswesterberg)

    Hi @jobthomas!

    Aha, thank you!! And since I am no “css hero”, would you be able to tell me what css code I should put in my custom css to get rid of that margin? ?? (I should tell you that this margin appears even if I remove the slide show or change completely to another page as homepage.)

    Mikey (a11n)

    (@mikeyarce)

    Hi@markuswesterberg,

    Aha, thank you!! And since I am no “css hero”, would you be able to tell me what css code I should put in my custom css to get rid of that margin? ?? (I should tell you that this margin appears even if I remove the slide show or change completely to another page as homepage.)

    This should do it!

    .home.page-template-template-fullwidth-php.page-template .site-header {
        margin-bottom: 0px;
    }
    Thread Starter markuswesterberg

    (@markuswesterberg)

    So, so many thanks @mikeyarce!!!

    Mikey (a11n)

    (@mikeyarce)

    Absolutely! ??

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Header size on homepage’ is closed to new replies.