HeyKarenShea Posted November 1, 2023 Posted November 1, 2023 Site password: rsksite Hey all - I am unfamiliar with how to code for mobile view. I currently have a banner with images on rotation and a description text box. It looks great on desktop, but when I look in mobile view the text box is getting cut off. Please review screenshot for reference. Here is the code I have used.. //Gallery Text// .gallery-caption p{color: white!important} .gallery-caption p {white-space:pre; text-align:center} .gallery-caption {background: linear-gradient(to right, #2B3D58, #BD9060); opacity: .85!important} .gallery-caption p{font-size:1.1rem!important} .gallery-caption p:first-line {font-weight:bold} .gallery-caption p{font-family:ITC Avant Garde Gothic Pro!important} .gallery-caption {margin-top: -8%} .gallery-caption.gallery-caption-fullscreen-slideshow { top: 100%; left: 70%; text-align: .2 % left; max-width: 30%; } //END GALLERY TEXT// .gallery-fullscreen-slideshow { margin-bottom: 0px!important }
JayVanDyke Posted November 1, 2023 Posted November 1, 2023 can you share your link? I only see your site password ☕ Did I help you? Buy me a coffee! 👨💻 Bergen Design Co. 💻 I'm for hire on Upwork! 🕸️ Squarespace Experts 🖥️ 99Designs 🛠️ Web Designer's Toolkit **some of these contain affiliate links
HeyKarenShea Posted November 2, 2023 Author Posted November 2, 2023 Sorry about that! https://lanternfish-maracas-phwl.squarespace.com/
Solution tuanphan Posted November 4, 2023 Solution Posted November 4, 2023 Add this code under your code to adjust it on mobile @media screen and (max-width:767px) { figcaption.gallery-caption.gallery-caption-fullscreen-slideshow { top: unset !important; bottom: 0px !important; max-width: 40% !important; right: 0 !important; left: unset !important; } } 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