Does anyone have a code or idea to create a mobile button slider for mobile only? I would like the slidebar for desktop, and a slider for mobile...... it's for this page: https://www.zodiachacks.com/discover/signs
This is what mobile should look like:
Thank you! This worked, I've moved the 'display: none;' property inside the media query and fixed the comment syntax to be appropriate for CSS. 😉
// Hide On Desktop
@media only screen and (min-width: 768px) {
#block-id {
display: none;
}
}
Oh this site, https://www.zodiachacks.com/discover/signs/taurus, we have a mobile version of this card (the orange one) that should only be loaded on mobile - does anyone have a code or solution to block the desktop and only load the mobile in CSS?