Using @media to hide home page for mobile
-
I have created two separate pages for my home page. I am trying to have one displayed when it is mobile and the other when it is desktop. Is there a way of doing that with custom CSS.
For instance would this work?
@media (max-width:640px){#your-desktop-page-URL {display:none!important}}@media (min-width:640px){#your-mobile-page-URL{display:none!important}}
If so, how would I exactly fill out the #your-desktop-page-URL section. Do I need to include the hashtag symbol? I have tried to insert into the additional CSS area of the customize area with no luck.
Thanks for any help
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Using @media to hide home page for mobile’ is closed to new replies.