ryanbrinkerhoff Posted December 16, 2023 Posted December 16, 2023 (edited) https://www.grdowntownmarket.com/ Site password: Market1234 I'm trying to center the homepage slide show text and button for tablet and mobile, but here's the catch: I want it centered as soon as it snaps to the tablet width and stay centered the entire time you continue to resize your browser window. Any help would be appreciated! Edited December 18, 2023 by ryanbrinkerhoff
Ziggy Posted December 18, 2023 Posted December 18, 2023 Can you share your website URL and the page this gallery is on? Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
ryanbrinkerhoff Posted December 18, 2023 Author Posted December 18, 2023 @Ziggy Added to the original post! Thanks! Ziggy 1
Ziggy Posted December 18, 2023 Posted December 18, 2023 @media only screen and (max-width:900px) { .slide-content { margin-left: auto !important; margin-right: auto !important; } .user-items-list-banner-slideshow[data-title-alignment="left"] .list-item-content__title, .user-items-list-banner-slideshow[data-button-alignment="left"] .list-item-content__button-container { text-align:left !important; } } Let me know how that goes. Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
ryanbrinkerhoff Posted December 18, 2023 Author Posted December 18, 2023 @Ziggy Close but it's still off. Trying to have the text container and button centered in the window at all times other than desktop view. I appreciate your help!
Solution Ziggy Posted December 18, 2023 Solution Posted December 18, 2023 Here's a tweak: @media only screen and (max-width:900px) { .slide-content, .slide-content .list-item-card-background { margin-left: auto !important; margin-right: auto !important; } .user-items-list-banner-slideshow[data-title-alignment="left"] .list-item-content__title, .user-items-list-banner-slideshow[data-button-alignment="left"] .list-item-content__button-container, .list-item-content__title, .list-item-content__button-container { text-align:center !important; } } Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
ryanbrinkerhoff Posted December 18, 2023 Author Posted December 18, 2023 @Ziggy Things are still off-center. Any idea why? desktop (good), tablet, and mobile screenshots are attached!
Ziggy Posted December 18, 2023 Posted December 18, 2023 That's really strange, it doesn't seem to be accepting the CSS correctly, and I'm not sure why. Do you have other CSS in your Custom CSS that might be affecting this? ryanbrinkerhoff 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com Hire me on Upwork! 📈 SEO Space (Referral link) Ⓜ️ Will Myers' Plugins & Tutorials (Referral link) 🔌 Ghost Squarespace Plugins (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️Pinch-to-Zoom Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee?
ryanbrinkerhoff Posted December 18, 2023 Author Posted December 18, 2023 @Ziggy I have a TON of custom CSS going on so I will take a look and see if there are conflicts! Thanks!
ryanbrinkerhoff Posted December 18, 2023 Author Posted December 18, 2023 @Ziggy I think I figured it out! Thanks for all your help! Ziggy 1
sunicreative Posted September 18 Posted September 18 Can you share your fix? I'm having what I believe to be a similar issue. Using the updated code above, this is how mine is looking (attached).
tuanphan Posted September 20 Posted September 20 On 9/18/2024 at 10:11 PM, sunicreative said: Can you share your fix? I'm having what I believe to be a similar issue. Using the updated code above, this is how mine is looking (attached). Can you share link to this page? We can check easier 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!)
sunicreative Posted September 21 Posted September 21 Yes the page link is https://mbinteriors.ca/press (mobile). I changed it back to left align for now because it looked stupid centred but off-centred.
tuanphan Posted September 24 Posted September 24 On 9/21/2024 at 5:41 PM, sunicreative said: Yes the page link is https://mbinteriors.ca/press (mobile). I changed it back to left align for now because it looked stupid centred but off-centred. You can use this code to Website Tools > Custom CSS @media screen and (max-width:767px) { section[data-section-id="646521fab7a9d93a9f32bd00"] li * { text-align: center !important; justify-content: center !important; } section[data-section-id="646521fab7a9d93a9f32bd00"] .list-item-content * { max-width: 100% !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