Hi there,
Sorry, typo mistake.
Update previous code to :
@media only screen
and (min-device-width : 768px)
and (max-device-width : 1024px) {
.x-visible-desktop {
display: none !important;
}
.x-hidden-desktop {
display: block !important;
}
}
Please clear cache after adding this code.
Thanks.