nadja1936 Posted July 10, 2023 Posted July 10, 2023 Hello :) I need help with positioning my buttons. Ideal would be: the first button centered on the screen and the following two buttons on the left side, alligning to the textblocks. So far i used this Code to resize the buttons: @media screen and (max-width:767px) { div#block-f2a8291c0bdfb307573a a { font-size: 14px !important; width : 200px; } } and with this one i tried to center them: @media screen and (max-width:767px) { div#block-f2a8291c0bdfb307573 a { display: flex; justify-content: center; align-items: center; } } Since i only have 3 Buttons on my page i went with the block-codes. But i guess the problem is with that frame that comes from squarespace (see picture). Maybe if i can center my buttons inside that frame it would work somehow. The URL is: https://amethyst-pelican-2l2k.squarespace.com/The password is: umowebseite Thank You!
Solution Ziggy Posted July 10, 2023 Solution Posted July 10, 2023 If you change the buttons to FILL instead of FIT you can control the size and positioning on desktop and mobile, that way you don't have to risk breaking the button position with CSS. Let me know how that works for you. nadja1936 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?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment