Shopify themes, liquid, logos, and UX
Hi there.
I like to make my font bigger on the add to cart button. On desktop I manage to do it by editing the theme, but on mobile it won't get bigger, so I assume I need to change something in the code.
Also I like to make my quantity box as width as my add to cart button, but I have no idea where to find in in the css code.
I am using Turbo Portland theme.
Could someone help me?
Thanks in advance.
Solved! Go to the solution
This is an accepted solution.
Hi @dyarovink ,
You can follow the instruction below:
1. Go to Online Store->Theme->Edit code
2. Asset->/styles.scss->paste below code at the bottom of the file:
@media (max-width: 749px) {
.purchase-details__buttons span.text {
font-size: 20px !important;
}
.product-quantity-box {
width: 100% !important;
}
.purchase-details__quantity input.quantity {
width: 50% !important;
}
}
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
This is an accepted solution.
Hi @dyarovink ,
You can try follow the instruction below:
1. Go to Online Store -> Theme -> Edit code.
2. Asset -> /styles.css paste code below into end of the file.
@media screen and (max-width:767px){
button.add_to_cart .text {
font-size: 16px !important;
}
.product-quantity-box {
width: 100% !important;
}
.product-quantity-box .quantity {
width: 50% !important;
}
}
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
Best regards.
HaloThemes - Top Premium Shopify Theme Provider
Ella Shopify Theme OS 2.0 - #1 Best Selling Shopify Theme of All Time
Want to try Shopify? Open a Store for FREE
Hi @dyarovink ,
Please share your store URL and password of front view.
So that I will check and let you know the exact solution here.
Best regards.
HaloThemes - Top Premium Shopify Theme Provider
Ella Shopify Theme OS 2.0 - #1 Best Selling Shopify Theme of All Time
Want to try Shopify? Open a Store for FREE
Hi thanks for your reply.
Password: kaasje123
This is an accepted solution.
Hi @dyarovink ,
You can follow the instruction below:
1. Go to Online Store->Theme->Edit code
2. Asset->/styles.scss->paste below code at the bottom of the file:
@media (max-width: 749px) {
.purchase-details__buttons span.text {
font-size: 20px !important;
}
.product-quantity-box {
width: 100% !important;
}
.purchase-details__quantity input.quantity {
width: 50% !important;
}
}
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
Thanks a lot! It worked 🙂
This is an accepted solution.
Hi @dyarovink ,
You can try follow the instruction below:
1. Go to Online Store -> Theme -> Edit code.
2. Asset -> /styles.css paste code below into end of the file.
@media screen and (max-width:767px){
button.add_to_cart .text {
font-size: 16px !important;
}
.product-quantity-box {
width: 100% !important;
}
.product-quantity-box .quantity {
width: 50% !important;
}
}
If you feel like my answer is helpful, please mark it as a SOLUTION. Let me know if you have any further questions.
Best regards.
HaloThemes - Top Premium Shopify Theme Provider
Ella Shopify Theme OS 2.0 - #1 Best Selling Shopify Theme of All Time
Want to try Shopify? Open a Store for FREE
Thanks a lot! It worked 🙂
Are you ready to take your business to the next level? Look no further than the latest ...
By SarahF_Shopify Apr 15, 2024We’re keeping the ball rolling to make sure you’re always ahead of the game. So buckle ...
By JasonH Apr 8, 2024Portrait of Stephen positioned next to an image of planet Earth, with the Stephen's World ...
By JasonH Mar 18, 2024