Last active
October 20, 2019 10:54
-
-
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/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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