Inkdave Posted August 13 Share Posted August 13 Hi All Is there a line of code that stops buttons from scaling below a minimum size, or indeed scaling over a maximum size? Thanks Link to comment
Lesum Posted August 14 Share Posted August 14 @Inkdave Hi! You can add this code in Custom CSS panel to set a minimum size for the buttons: #siteWrapper.site-wrapper .sqs-block-button-element { min-width: 100px; } To set a maximum size: #siteWrapper.site-wrapper .sqs-block-button-element { max-width: 200px; } Alternatively, you can set both the minimum and maximum limits using this code: #siteWrapper.site-wrapper .sqs-block-button-element { min-width: 100px; max-width: 200px; } If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? Buy me a coffee? Link to comment
Inkdave Posted August 14 Author Share Posted August 14 Hey @Lesum thanks that gives me some control for sure. However can you just set it so they don't scale at all? Or define set size for desktop and mobile? thanks Link to comment
Lesum Posted August 15 Share Posted August 15 @Inkdave You can add this code to set a fixed size: #siteWrapper.site-wrapper .sqs-block-button-element { width: 200px !important; } If my comments were useful, please like or mark my solution as answer so others can scroll to it quickly. Sam Web Developer & Digital Designer ☕ Did you find my contribution helpful? 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