AndyRobbins Posted July 8, 2023 Posted July 8, 2023 Password is 'help' if you need. So on the test home page. I have created three sections one for standard desktop (browser), one for mobile, and one for tablet. Each area has a hello world browser, mobile or tablet text block. Code is as follows, The first two sections work fine but the tablet section at the end does not. Can get the px min and max to work. I think. What am I missing. The tablet is an 2019 apple mini. <style> /*used to hide mobile/tablet when on browser*/ @media only screen and (min-width: 640px) {section[data-section-id="64a8d253e44b923b1fbcd0f9"] /*mobile*/, section[data-section-id="64a974967464c27ad524c7aa"] /*tablet*/ {display:none}} /*used to hide browser/tablet when on mobile*/ @media only screen and (max-width: 640px) {section[data-section-id="64a8d1edf9a79a0d49822a7f"] /*Browser*/, section[data-section-id="64a974967464c27ad524c7aa"] /*tablet*/ {display:none}} /*used to hide browser/mobile when on tablet*/ @media only screen and (min-width: 641px) and (max-width: 950px) {section[data-section-id="64a8d253e44b923b1fbcd0f9"] /*mobile*/, section[data-section-id="64a8d1edf9a79a0d49822a7f"] /*Browser*/ {display:none}} </style> Thank you for your help.
tuanphan Posted July 9, 2023 Posted July 9, 2023 Hi, What is site url? 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!)
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment