nadja1936 Posted July 10, 2023 Share 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! Link to comment
Solution Ziggy Posted July 10, 2023 Solution Share 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! 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) 🖼️ Gallery Lightbox Plugin (Referral link) ☕ Did I help? Buy me a coffee? 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