Hello community,
I use a price comparison where I show the old and new price. At the top left is the standard label SALE. I don’t want it visible on the 1st photo and hover photo.
On the first photo I managed to remove it with the same color background theme. But on the hover photo part of the label remains visible. Does anyone have an idea how I can remove it?
store:lepuffcases.com
@lepuffcases , Try putting this code at the very bottom of the base.css file
.card__badge.top.left {
display: none!important;
}
@lepuffcases , to make your announcement bar move more slowly follow these steps
- Change this code in your announcement-bar.liquid like this
- Put this code to the end of base.css file
.marqueeText {
height: 50px;
position: relative;
width: 100%;
overflow: hidden;
}
.marqueeText span {
text-align: center;
position: absolute;
top: 0;
width: 250%;
height: 100%;
margin: 0;
line-height: 50px;
/* Starting position */
-moz-transform: translateX(100%);
-webkit-transform: translateX(100%);
transform: translateX(100%);
/* Apply animation */
-moz-animation: marqueeText 30s linear infinite;
-webkit-animation: marqueeText 30s linear infinite;
animation: marqueeText 30s linear infinite;
}
.marqueeText span a {
margin-right: 50px;
}
/* Define the animation */
@-moz-keyframes marqueeText {
0% {
-moz-transform: translateX(100%);
}
5% {
-moz-transform: translateX(20%);
}
100% {
-moz-transform: translateX(-120%);
}
}
@-webkit-keyframes marqueeText {
0% {
-webkit-transform: translateX(100%);
}
5% {
-webkit-transform: translateX(20%);
}
100% {
-webkit-transform: translateX(-120%);
}
}
@keyframes marqueeText {
0% {
-moz-transform: translateX(100%);
-webkit-transform: translateX(100%);
transform: translateX(100%);
}
5% {
-moz-transform: translateX(20%);
-webkit-transform: translateX(20%);
transform: translateX(20%);
}
100% {
-moz-transform: translateX(-120%);
-webkit-transform: translateX(-120%);
transform: translateX(-120%);
}
}
@media (min-width: 768px) {
.marqueeText span {
-moz-animation: marqueeText 60s linear infinite;
-webkit-animation: marqueeText 60s linear infinite;
animation: marqueeText 60s linear infinite;
width: 100%;
}
}