dm23 Posted December 13, 2023 Share Posted December 13, 2023 Hi everyone, I am looking to have my mobile version of my case study look differently to the desktop version. In order to do this, I used this code to hide all the sections I didn't want to show up in desktop: @media (min-width: 768px) { section[data-section-id="6437290d847f717cb3799d2f"], section[data-section-id="6437290d847f717cb3799d32"], section[data-section-id="64374a6f18e64e74904babe2"], section[data-section-id="6439d399e8e5697b8f362edb"], section[data-section-id="6439f327e8e5697b8f3a17f2"], section[data-section-id="643ae5724fda0f1c00304733"], section[data-section-id="643affe02918882dc8bc6372"], section[data-section-id="6437290d847f717cb3799d2c"]{ display: none; } } and this code for the one section to not load in mobile: @media screen and (max-width:767px) { section[data-section-id="6579fda50ca4271cf11fd276"] { display: none; } } However, this is causing loading issues in the mobile version of the case study (desktop is fine). My question is, is this something that can be fixed with code or will I have to look for another solution? Here is the link to the case study in question: https://www.dharamistry.ca/the-krusty-krab Thank you! Link to comment
tuanphan Posted December 14, 2023 Share Posted December 14, 2023 Hi, What is problem on mobile? 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
dm23 Posted December 14, 2023 Author Share Posted December 14, 2023 2 minutes ago, tuanphan said: Hi, What is problem on mobile? The loading on mobile does not seem to work. It loads the first few images and then tries to reload until it crashes and gives an error. 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