SaraCreative Posted April 11 Posted April 11 Hello! One specific page on my website does not work on mobile and it shows up blank. There's a grid format on that page. The Squarespace customer support said it might be the code. Can anyone tell me what's wrong with my code? Page: https://www.sarageorgas.com/portfolio CSS: /* Grid Gallery Captions on Hover */ .gallery-grid .gallery-caption { position: absolute; top: 0; left: 0; background: rgba(65, 82, 164,1); // overlay color height: 100%; padding: 0; opacity: 0; pointer-events: none; } .gallery-grid .gallery-caption-wrapper { display: flex; align-items: center; // center vertically justify-content: center; // center horizontally } .gallery-grid .gallery-caption-content { font-size: 2rem !important; // caption font size color: white; //caption font color padding: 5vw; // padding around the caption } .gallery-grid-item { position: relative; } .gallery-grid-item:hover .gallery-caption { opacity: 1; } .gallery-caption-grid-simple { transition-delay: 0ms; max-width: unset; } // THIN BUTTON OUTLINE .sqs-block-button-element--medium { border-width: 1px !important; } @media screen and (max-width:800px) { .gallery-grid-wrapper { grid-template-columns: repeat(1,1fr) !important; grid-row-gap: 3vw !important; } } // PREVENT OVERFLOW body { overflow-x:hidden; overflow-y:visible; } @media only screen and (max-width: 1024px) { body,#siteWrapper { overflow-x:hidden; overflow-y: visible !important } }
tuanphan Posted April 13 Posted April 13 It shows fine on my end SaraCreative 1 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!)
Solution SaraCreative Posted April 25 Author Solution Posted April 25 I noticed it is working now as well! Thank you. For a week it wasn't showing up at all on my phone.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment