Marenberg Posted February 21, 2022 Posted February 21, 2022 Site URL: http://www.marenberg.dk Hi! How can I resize the buttons on my website to be smaller for mobile view? On desktop, the button size is small but when I change to mobile view the buttons compress into a big button. I used the following code to resize the button on my frontpage header image, but how can I resize the other buttons?: @media screen and (max-width:640px) { a.sqs-block-button-element--large.sqs-block-button-element { font-size: 11px; } } SquareRefresh 1
SquareRefresh Posted February 21, 2022 Posted February 21, 2022 Hey @Marenberg You can use next classes for the medium and small buttons on the site:.sqs-block-button-element--medium .sqs-block-button-element--small Just add same code but change "large" to the preferred button style (small, medium). System buttons like a form button, product etc has a different class, so You should to get a correct class for the system buttons and then add custom styles for mobile view. SquareRefresh, premium plugins & templates that have an elevated feel. Plugins: Have your site stand out. Templates: Our templates are designed with versatility in mind.Get Freebies: Sometimes things in life are free. Browser our hand selected free plugins.
Marenberg Posted February 21, 2022 Author Posted February 21, 2022 Thank you! 🙂 How can I resize a form button like a "purchase" button on a product page?
tuanphan Posted February 23, 2022 Posted February 23, 2022 On 2/21/2022 at 8:12 PM, Marenberg said: Thank you! 🙂 How can I resize a form button like a "purchase" button on a product page? Use this code .sqs-add-to-cart-button-inner { font-size: 11px; } 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!)
Marenberg Posted February 23, 2022 Author Posted February 23, 2022 11 hours ago, tuanphan said: Use this code .sqs-add-to-cart-button-inner { font-size: 11px; } It worked perfectly! Thank you 🙂
Cyperpunk-girl-333 Posted March 16, 2022 Posted March 16, 2022 Quote How do I resize buttons for mobile view for poster block and card blocks?
tuanphan Posted March 16, 2022 Posted March 16, 2022 4 hours ago, christina_marie_333 said: Add to Design > Custom CSS /* Posters cards buttons mobile */ @media screen and (max-width:767px) { .design-layout-poster a { font-size: 12px !important; } .design-layout-card a { font-size: 11px !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!)
saradicarlo1 Posted March 25, 2022 Posted March 25, 2022 Im having the same issues, im version 7.1 and my button on mobile view which has CSS in now on my header (was in burger menu before).. bit its quite far to the left and needs moving in (I've reduced logo padding, so there is space). However I think overall I need just code to reduce button and text size..cant seem to find a code that does.. please help
tuanphan Posted March 26, 2022 Posted March 26, 2022 22 hours ago, saradicarlo1 said: Im having the same issues, im version 7.1 and my button on mobile view which has CSS in now on my header (was in burger menu before).. bit its quite far to the left and needs moving in (I've reduced logo padding, so there is space). However I think overall I need just code to reduce button and text size..cant seem to find a code that does.. please help What is your site url? 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!)
saradicarlo1 Posted April 21, 2022 Posted April 21, 2022 Help, i am having issues !! The same thing with my button on mobile view.. its too big.. my URL is www.milasgardenglamping.com .. i sent the above message a few weeks ago".. but didnt realise you responded 🙂 "Im having the same issues, im version 7.1 and my button on mobile view which has CSS in now on my header (was in burger menu before).. bit its quite far to the left and needs moving in (I've reduced logo padding, so there is space). However I think overall I need just code to reduce button and text size..cant seem to find a code that does.. please help
tuanphan Posted April 24, 2022 Posted April 24, 2022 On 4/21/2022 at 10:32 PM, saradicarlo1 said: Help, i am having issues !! The same thing with my button on mobile view.. its too big.. my URL is www.milasgardenglamping.com .. i sent the above message a few weeks ago".. but didnt realise you responded 🙂 "Im having the same issues, im version 7.1 and my button on mobile view which has CSS in now on my header (was in burger menu before).. bit its quite far to the left and needs moving in (I've reduced logo padding, so there is space). However I think overall I need just code to reduce button and text size..cant seem to find a code that does.. please help It looks like you solved with this? @media screen and (max-width: 992px) { .header-actions-action--cta a { border-radius:5px; padding: .8em .8em !important } .header-actions { display: block !important } .header .header-actions-action--cta { display: block; width: 0% !important; padding-right: 0px; padding-left: 0px } .header-title-nav-wrapper { flex: 100% !important; padding-right: 0px; padding-left: 0px } } 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!)
laurensmithart Posted November 10, 2022 Posted November 10, 2022 Can anyone tell me the class for a form block button? I would like to resize it in mobile. Thanks!
tuanphan Posted November 13, 2022 Posted November 13, 2022 On 11/11/2022 at 2:20 AM, laurensmithart said: Can anyone tell me the class for a form block button? I would like to resize it in mobile. Thanks! It is Quote .form-block input 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