Kico Posted September 16, 2021 Share Posted September 16, 2021 Site URL: https://www.burchamandzugman.com/ Hi! I'm using the code below to display different home pages on desktop and mobile but it's not working. Did I do something wrong? //different desktop and mobile home page @media only screen and (max-width: 780px) { #home { display: none; } } @media only screen and (min-width: 781px) { #mobilehome { display: none; } } Thanks! Kico Link to comment
tuanphan Posted September 19, 2021 Share Posted September 19, 2021 On 9/17/2021 at 2:36 AM, Kico said: Site URL: https://www.burchamandzugman.com/ Hi! I'm using the code below to display different home pages on desktop and mobile but it's not working. Did I do something wrong? //different desktop and mobile home page @media only screen and (max-width: 780px) { #home { display: none; } } @media only screen and (min-width: 781px) { #mobilehome { display: none; } } Thanks! Kico Have you added 2 sections #home & #mobilehome yet? Can you take screenshot of these sections? Email me if you have need any help (free, of course.). Answer within 24 hours. Or send to forum message Contact Customer Care - Learn CSS - Buy me a coffee (thank you!) Link to comment
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment