Is there a way to exclude specific CSS styles on smartphones for my website?
Below is the CSS I want to exclude :
a[href="http://localhost/wordpress/ireland/"], a[href="http://localhost/wordpress/france/"], a[href="http://localhost/wordpress/spain/"], a[href="http://localhost/wordpress/portugal/"], a[href="http://localhost/wordpress/canary-islands/"], a[href="http://localhost/wordpress/africa/"], a[href="http://localhost/wordpress/central-america/"], a[href="http://localhost/wordpress/indonesia/"], a[href="http://localhost/wordpress/carribean/"]{
pointer-events: none;
cursor: default;
}
Could the solution involve this code snippet?
@media only screen and (min-device-width : 320px) and (max-device-width : 480px) {
/* Styles */
}
I find it confusing, any guidance would be appreciated!
UPDATE:
@media (min-width: 600px){
a[href="http://localhost/wordpress/ireland/"], a[href="http://localhost/wordpress/france/"], a[href="http://localhost/wordpress/spain/"], a[href="http://localhost/wordpress/portugal/"], a[href="http://localhost/wordpress/canary-islands/"], a[href="http://localhost/wordpress/africa/"], a[href="http://localhost/wordpress/central-america/"], a[href="http://localhost/wordpress/indonesia/"], a[href="http://localhost/wordpress/carribean/"]{
pointer-events: auto;
cursor: default;
}
}