This topic has 3 replies, 2 voices, and was last updated 2 years, 11 months ago ago by Jennifer
Hi there,
Is it possible to show the name of the variation on mobile version?
On desktop, when hovering, it shows the name of the variation, but on mobile, it doesn´t.
I saw this feature on another site, so I was wondering if this was possible. (It doesn´t have to be exactly like that. But if the name of the variation can appear, it would be great!)
Thank you,
regards,
Hello,
to show on mobile just as on desktop (on hover) http://prntscr.com/24asefw /
@media only screen and (max-width: 768px) {
.sten-li-disabled:after, .type-color:after, .type-image:after {
display: inline-block;
}
}
– add code in Theme Options > Theme custom CSS > Global
or to show static http://prntscr.com/24asc4r
@media only screen and (max-width: 768px) {
.sten-li-disabled:after, .type-color:after, .type-image:after {
display: inline-block;
opacity: 1;
visibility: visible;
position: static;
transform: none;
}
ul.st-swatch-size-normal li.type-color {
width: auto;
height: auto;
border: none;
}
ul.st-swatch-size-normal li.selected > span {
outline: 1px solid #000;
outline-offset: 2px;
}
ul.st-swatch-size-normal li.type-color span, ul.st-swatch-size-normal li.type-color:before {
width: 20px;
height: 20px;
position: static;
margin: 0 auto;
}
}
Regards
Hi Rose,
Thank you very much!
Works as a charm as expected.
Many thanks and happy holydays.
kind regards,
The issue related to '‘Show name of variation swatches on mobile version’' has been successfully resolved, and the topic is now closed for further responses