Skip to content

Instantly share code, notes, and snippets.

@vanaf1979
Last active October 20, 2019 10:54
Show Gist options
  • Save vanaf1979/e770787fb4f70224f1346f054bbb2155 to your computer and use it in GitHub Desktop.
Save vanaf1979/e770787fb4f70224f1346f054bbb2155 to your computer and use it in GitHub Desktop.
Gist for my article: WordPress: Add custom logo support to your theme. https://vanaf1979.nl/wordpress-add-custom-logo-support-to-your-theme/
header {
height: 70px;
margin: 0px 0px 50px 0px;
}
header .logo {
height: 100%;
}
.custom-logo-link {
display: inline-block;
height: 100%;
}
.custom-logo-link .custom-logo {
display: block;
max-height: 100%;
width: auto;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment