WordPress.org

Ready to get started?Download WordPress

Forums

Pinboard
[resolved] header - as small as possible (3 posts)

  1. Geri70
    Member
    Posted 1 year ago #

    Hi!

    What to do to make the header (incl. Logo) as small (the height) as possible (there are no header-images with slider etc...)?
    >>my page<<

    After opening my page, I want to see the whole first image from the blog, not to scroll down for it...

    Besides: Is there a chance to have the sidebar after the very first post, so the post can spread over the whole width...?

    Thnx!

    Greets
    Geri

  2. paul.a.cunn
    Member
    Posted 1 year ago #

    Add the following to your custom css to minimize the area around your header.

    #site-title img {
    margin: 0px;
    }

    To make your first post wider and shift everything else down you will need some tricky css and I am not 100% sure it will work but you could try the following. Please note that "post-518" is the current name of your first post. If this post changes you will need to change this css to be the name of your new first post. I am not sure how to do it automatically.

    #siderbar {
    position: absolute;
    top: 769px;
    }
    #post-518 {
    width: 968px;
    margin: 1.6%;
    }

    The other posts seem to automatically shift down according to the size of the first post. You may need to change the size of your first post's image.

    Let me know how it goes.

    Cheers!

  3. Geri70
    Member
    Posted 1 year ago #

    Hi Paul!

    Thank you for the code.
    The code for the site title works
    but only with a code Alexander gave me once.
    Following now I did put in my user.css:

    #site-title img {
    margin: 0px;
    }
    
    #site-title {
    margin:0;
    line-height:0;
    float:left;
    }

    Now it works perfect!!

    The thing with the sidebar does work, but not proper.
    Maybe it's a "layout-problem" but it's not that important to me.
    Thanx for your try anyway!

    Now I can play around with my design, make the sidebar a bit smaller and put things down to the footer. It's fun and from now on I hope I can do it on my own...! ;-)

    Greetings from the cold Vienna in Austria!
    Thank you again!

    Geri

Topic Closed

This topic has been closed to new replies.

About this Theme

About this Topic

Tags

No tags yet.