Skip to content

Instantly share code, notes, and snippets.

@cobaltapps
Last active August 28, 2019 01:10
Show Gist options
  • Save cobaltapps/6655783 to your computer and use it in GitHub Desktop.
Save cobaltapps/6655783 to your computer and use it in GitHub Desktop.
This CSS code is for a DWB screencast where I show how to make your Logo Image responsive, without the need for multiple images.
/* 5th @media query trigger point */
.site-header {
min-height: 80px;
}
.header-image .site-header .wrap .title-area {
width: 320px;
height: 80px;
background-size: 320px 80px;
}
/* 6th @media query trigger point */
.site-header {
min-height: 60px;
}
.header-image .site-header .wrap .title-area {
width: 240px;
height: 60px;
background-size: 240px 60px;
}
@ltwalker
Copy link

Hello Eric,
Just now watched your screen cast at http://dynamikdocs.cobaltapps.com/article/146-how-to-make-your-logo-image-responsive. Great explanation. I signed up with GitHub and would like to somehow keep all such helpful DWB CSS in my GitHub area. Is this OK with CobaltApps?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment