WordPress.org

Ready to get started?Download WordPress

Forums

How to change header#branding height in CSS? (5 posts)

  1. cfm168
    Member
    Posted 2 years ago #

    I want to change this because though can reduce white space.
    I tried on my Twentyeleven child CSS, change Height: 490px to 450px, but doesn't work. Please help.

  2. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Please explain exactly where you want the extra height removed and provide a site link.

  3. cfm168
    Member
    Posted 2 years ago #

    Thank you SwansonPhoto,
    Yes, I want to
    1. Move logo higher - set up top margin
    2. Move header/banner image up closer to logo
    3. Change background color for replacing white area.
    They are within the <header>..</header>. How can code CSS for them?

  4. shirazdrum
    Member
    Posted 2 years ago #

    link

  5. cfm168
    Member
    Posted 2 years ago #

    I figured it out and solved my issues. I post here to share because many WP users asking same questions. Hope it is helpful.

    I set <hground id="?"> on header.php,
    then on CSS
    #?{ Height:??px;
    }
    #branding img.logo-image {
    margin-top: -??px;
    }

    Thank you all.

Topic Closed

This topic has been closed to new replies.

About this Topic