Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6598425
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T18:20:50+00:00 2026-05-25T18:20:50+00:00

I have a fixed position header bar that is about 40px heigh. It is

  • 0

I have a fixed position header bar that is about 40px heigh.
It is above the 80px heigh logo in the original (not scrolled) position.

I want the logo to be shrinked (and be placed to the header bar) when I scroll down pass the original logo.
How could I do this?

(I want it to look something like TechCrunch)

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-25T18:20:51+00:00Added an answer on May 25, 2026 at 6:20 pm

    I am not sure you exactly want to mimic the effect in your link, but if you do then this is an example of how: see demo fiddle

    Style sheet:

    #header {
        height: 40px;
        width: 100%;
        position: fixed;
        top: 0;
        background: #fff;
    }
    #content {
        margin-top: 41px;
    }
    #logo {
        position: relative;
        height: 200px;
        width: 200px;
        top: -41px;
        float: left;
        margin-bottom: -41px;
    }
    

    Markup:

    <div id="header">
        <img src="..." alt="" />
        Menu
    </div>
    <div id="content">
        <div id="logo">
            <img src="..." alt="" />
        </div>
    </div>
    

    Tested on Win7 in IE7, IE8, IE9, Opera 11.51, Safari 5.0.5, FF 6.0, Chrome 13.0.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a header and menu bar that I have fixed to stay at
Header, footer and sidebars have fixed position. In the center a content area with
http://mehulkar.com/CD This is driving me insane. I have a fixed position header and a
I have a page with a fixed header and below that a table that
I have a CSS layout that simulates a fixed-frame page, with a header and
I have a page with fixed position of header on scroll. Similar as on
I wanted to set a top header in a fixed position and have content
I have a fixed-position image that I would like to fade out when scrolling
I Have a fixed position tag that is styled as follows within my CSS:
I have a website where the header and footer are in fixed position, while

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.