• Resolved zer0blok

    (@zer0blok)


    http://puproket.com
    I am trying to change (white-space) of the header-area. There are 2 things which i want to do, and i guess the solutions are related, so i’ll put them both in one post.

    (1) The Site-Title (“Pup Roket”) needs to be about 10px further down. In other words, 10px of white-space before the Site-Title.

    (2) Add more (white-) space to bottom of Header, about 10px.
    -Currently, the content of a post /page “disappears” too close to the Site-Title on scroll. I want content to disappear about 10px sooner that it does.

    Notes:
    I have tried doing this by adding to css which already changes aspects of the header-area. *However, while i can change the header-area, it doesn’t push the content of a post /page further-down the screen, as it were (so Post-Title ends up being obscured.)

    Examples of what i’ve tried, which doesn’t work right:
    Changing /adding to the following css i’m already using; changing ‘top’ or ‘padding-bottom’ values

    .site-branding {
        width: 100%;
        text-align: center;
    
    }
    
    .site-header {
    	  
        position: fixed;
        top: 0;
        opacity: 1;
        z-index: 1;
        background-color: #FFFDFD;
        padding-bottom: 5px;
        
    }
    
    .content {
            margin-top: 10em;
        }

    I also tried this code, with similar limited success:

    @media only screen and (max-width: 1600px) {
        .site-banner-media {
            padding-bottom: 40%;
        }
    
        .home .content-area, .blog .content-area {
            margin-top: 40%;
        }
    }

    Thanks for your consideration.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Hi again,

    These bits of CSS should do the trick:

    (1) The Site-Title (“Pup Roket”) needs to be about 10px further down. In other words, 10px of white-space before the Site-Title.

    .site-branding {
    margin-top: 10px;
    }

    (2) Add more (white-) space to bottom of Header, about 10px.
    -Currently, the content of a post /page “disappears” too close to the Site-Title on scroll. I want content to disappear about 10px sooner that it does.

    .site-header {
    padding-bottom: 15px;
    }

    Thread Starter zer0blok

    (@zer0blok)

    Hello David 🙂

    Unfortunately this doesn’t do the job as intended.

    Margin-top code does move the Site-Title down as desired, but, then obscures the Post/Page-Title. (-This happens on an ipad /phone in protrait-orientation.) So, when adding n pixels, it obscures whatevever content is underneath, rather than pushing that content down by n pixels also.

    The second piece of code likewise.

    Is it that the content also needs to be moved down the page?

    (p.s. I seem to have posted this in the general Themes & Templates forum, rather than Scrawl specifically -i’m afraid i don’t know how to change that.)

    • This reply was modified 8 years, 11 months ago by zer0blok.

    I see what you mean. Add this to move the page title down:

    .entry-header {
        padding-top: 25px;
    }
    Thread Starter zer0blok

    (@zer0blok)

    David, it took a bit of fiddling, but it works as needed.

    I’ve pretty much got the theme looking as needed now. Thanks for all the help and code you’ve given. All the best

    🙂

    That’s awesome to hear! You’re welcome. 🙂

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘Header-area: White-Space’ is closed to new replies.