badget

Biggest Sale! Special Offer!

Get 30% discount on all of our single themes with this coupon code: #30%SALE

Hurry up! *Limited time offer*

Sticky Infobar

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #70464
    mirko
    Participant

    How can I get a sticky infobar? position: absolute is not working as expected (bar not 100% width, not enough space to the content).

    #70508
    mirko
    Participant

    Okay, done 🙂

    .info-bar {
    	background-color: #555;
    	color: #999;
    	padding-bottom: 6px !important;
    	position: fixed;
    	width: 1038px;
    	z-index: 1000;
    }
    .hgroup-wrap {
    	padding-top: 35px !important;
    }
    #70545

    Hi Mirko,

    It’s better to put width: 100%; instead of width: 1038px;

    Thank you!

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.