Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #84272
    Raielene
    Member

    I wanted less space vertically around my logo and achieved this by changing the following from 50px to 10px. That works great, but only at a large size. If I go to other screen sizes (e.g.max-width: 1280px, or max-width 1024px) the padding comes back.

    #hgroup-wrap,
    .hentry,
    .comments-area article {
    padding-bottom: 10px;

    }
    #site-logo,
    #hgroup,
    .header-sidebar,
    #supplementary,
    #main {
    padding-top: 10px;
    }

    I’ve tried putting the above code in a @media screen area (all in my child theme, of course) but it doesn’t do anything. I can’t figure out why that spacing is different at the different sizes and why I can’t edit them.

    #84308
    Mahesh
    Participant

    Hi @Raielene,

    Go to “Dashboard=> Appearance=> Theme Options=> Custom CSS” box and add the following CSS.

    #hgroup, 
    #header-right.header-sidebar {
        padding-top: 10px;
    }
    
    #hgroup-wrap {
        padding-bottom: 10px;
    }
    
    @media screen and (max-width: 960px){
        #hgroup-wrap {
            padding-top: 10px;
        }
    }

    Regards,
    Mahesh

    #84391
    Raielene
    Member

    No luck. Nothing changes.

    #84412
    Mahesh
    Participant

    Hi @Raielene,

    Please post in your site url.

    Regards,
    Mahesh

Viewing 4 posts - 1 through 4 (of 4 total)
  • The topic ‘Header height’ is closed to new replies.