Skip to content

Instantly share code, notes, and snippets.

@kharissulistiyo
Created August 20, 2016 17:33
Show Gist options
  • Save kharissulistiyo/341ed94227146aa8d44b68afa34ac248 to your computer and use it in GitHub Desktop.
Save kharissulistiyo/341ed94227146aa8d44b68afa34ac248 to your computer and use it in GitHub Desktop.
Header style
<style type="text/css">
.site-logo-middle-menu{
position: relative;
display: inline-block;
margin-left: 10px;
margin-right: 10px;
}
.site-logo-middle-menu > a{
position: absolute;
z-index: 999;
margin-bottom: calc(-50% + 24px);
margin-bottom: -moz-calc(-50% + 24px);
margin-bottom: -webkit-calc(-50% + 24px);
}
</style>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment