How To Change Header Link CSS
.header-links-wrapper {
position: relative;
padding: 20px 0;
}
.header-links {
}
.header-links ul {
font-size: 0;
}
.header-links li {
display: inline-block;
margin: 0 10px;
}
.header-links span,
.header-links a {
display: inline-block;
font-size: 12px; /*reset zeroing*/
line-height: 36px;
text-transform: uppercase;
}
.header-links a:hover,
.header-links a:focus {
color: #4ab2f1;
}
#topcartlink {
display: block;
width: 70%;
max-width: 400px;
margin: 10px auto 0;
background-color: #f6f6f6;
padding: 0 20px;
}
#topcartlink a {
background: url('../images/shopping-bag.png') left center no-repeat;
padding: 0 0 0 20px;
}
@media all and (min-width: 1001px) {
.header-links-wrapper {
float: right;
padding: 0;
}
.header-links li {
margin: 0 16px;
}
.header-links a,
.header-links span {
line-height: 45px;
text-transform: none;
}
#topcartlink {
display: inline-block;
width: auto;
margin: 0;
padding: 0 18px;
}
}
Modified at 2024-08-27 11:55:42