jcny85 Posted February 1, 2023 Share Posted February 1, 2023 (edited) URL: https://piccolo-orca-mkx8.squarespace.com/ Site PW: rideon Hi there. Is there a way to have different button sizes for mobile & desktop? I have a primary button on my main index page that is currently a great size for mobile, but too large for desktop. Is there any way to do that? Thank you in advance! Edited February 1, 2023 by jcny85 Forgot some info Link to comment
Solution Ziggy Posted February 1, 2023 Solution Share Posted February 1, 2023 You can do that with CSS and a media query: @media only screen and (min-width:768px) { #siteWrapper .sqs-button-element--primary { font-size:1rem; padding:1.2rem 2rem; } } Adjust the values to suit your design. jcny85 1 Please like and upvote if my comments were helpful to you. Cheers! Zygmunt Spray Squarespace Website Designer Contact me: https://squarefortytwo.com ☕ Did I help? Buy me a coffee? 🔌 Ghost Squarespace Plugins (Referral link) 📈 SEO Space (Referral link) ⬛ SquareWebsites Plugins (Referral link) 🔲 SQSP Themes (Referral link) ✨ Spark Plugin (Referral link) Link to comment
jcny85 Posted February 1, 2023 Author Share Posted February 1, 2023 @ZiggyThank you so much! Worked like a charm. Ziggy 1 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