Hi yes, I was about to link you an old topic where I put a code similar to your one:
@media (max-width: 979px){
.tc-header {
border-bottom: none;
}
header.tc-header {
min-height: 40px;
}
.tc-header .brand{
float: left;
width: 80%;
text-align: left;
padding-left: 10px;
position: relative;
z-index: 2;
}
header.tc-header .outside,
header.tc-header .social-block {
display: none;
}
/* shrink header img by default*/
.tc-header .site-logo img {
height: 30px!important;
width: auto!important;
}
.tc-header .brand h1, .tc-header .brand a{
margin: 10px 0px;
}
.tc-header .brand .site-title {
font-size: 0.6em;
line-height: 1.2em;
}
.tc-header .navbar-wrapper {
float: none;
position: relative;
z-index: 1;
}
.tc-header .navbar .navbar-inner{
margin: 0px;
-webkit-box-shadow: none;
-moz-box-shadow: none;
box-shadow: none;
background: none;
}
.tc-header .navbar .btn-navbar {
margin: 9px 0px;
}
.tc-header .nav-collapse{
/* default fallback */
background: rgb(255, 255, 255) transparent;
/* nice browsers */
background: rgba(255, 255, 255, 0.9);
/* IE 6/7 */
filter:"progid:DXImageTransform.Microsoft.gradient(startColorstr=#CCFFFFFF, endColorstr=#CCFFFFFF)";
/* IE8 */
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#CCFFFFFF, endColorstr=#CCFFFFFF)";
}
}
@media (max-width:480px){
.tc-header .brand .site-title{
font-size: 0.5em;
display: -webkit-box;
-webkit-line-clamp: 1;
-webkit-box-orient: vertical;
overflow: hidden;
}
.tc-header .brand h1, .tc-header .brand a{
margin: 10px 0px 0px;
}
}
which should cover some other cases, and should be but in the child-theme style.css because of the use quotes and double quotes in it.
??
p.s.
would you mind marking this topic as resolved?