Skip to content

Instantly share code, notes, and snippets.

@vanaf1979

vanaf1979/custom-log.css

Last active Oct 20, 2019
Embed
What would you like to do?
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