Personalized checkout and custom promotions with Shopify Scripts
How do I change the mobile font size for collection products? Been trying to change it in Edit Code but no luck.
Website URL - https://avokitchen.com/
Solved! Go to the solution
This is an accepted solution.
hi @Yusa1
Its SideNode! We will be happy to help you today.
In the previous code, I accidentally provided the CSS for desktop. Here is the updated version of the code.
@media screen and (max-width: 749px) {
h3.card-information__text.h3 {
font-size: 12px;
}
.price.price--on-sale {
font-size: 12px;
}
}
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
You can see the change now.
Please feel free to let me know if there's anything else you need.
If I was able to assist you, please remember to give it a Like and Mark it as the Solution!
Let me know if need further assistance
Regards,
SideNode
This is an accepted solution.
hi @Yusa1
Its SideNode! We will be happy to help you today
I specialize in developing code for mobile devices exclusively and do not provide code for desktop devices. However, if you need code that works for both mobile and desktop, you can easily apply the code I provide.
h1.product__title {
font-size: 24px;
}
span.price-item {
font-weight: bold;
}
Let me know if need further assistance
Regards,
SideNode
Hi @Yusa1
Its SideNode! We will be happy to help you today.
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
@media screen and (min-width: 750px) {
h3.card-information__text.h3 {
font-size: 14px;
}
.price.price--on-sale {
font-size: 14px;
}
}
If I was able to assist you, please remember to give it a Like and Mark it as the Solution!
Let me know if need further assistance
Regards,
SideNode
Hey @SideNode,
I appreciate the help but I enter your code and I don't think it really fixes my problem. I want the words to don't stack over each other. Like this other website shown below
This is an accepted solution.
hi @Yusa1
Its SideNode! We will be happy to help you today.
In the previous code, I accidentally provided the CSS for desktop. Here is the updated version of the code.
@media screen and (max-width: 749px) {
h3.card-information__text.h3 {
font-size: 12px;
}
.price.price--on-sale {
font-size: 12px;
}
}
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>Add this code at the bottom.
You can see the change now.
Please feel free to let me know if there's anything else you need.
If I was able to assist you, please remember to give it a Like and Mark it as the Solution!
Let me know if need further assistance
Regards,
SideNode
Hey @SideNode ,
Thanks a lot definitely did help. Are you able to change the "PRICE Number" to bold.
and put the Title font for mobile just slightly smaller.
hi @Yusa1
Its SideNode! We will be happy to help you today.
You can try this code: it will be helpful to you
Go to the Online Store->Theme->Edit code->Assets->base.css>
@media screen and (max-width: 749px) {
h1.product__title {
font-size: 24px;
}
span.price-item {
font-weight: bold;
}
}
If I was able to assist you, please remember to give it a Like and Mark it as the Solution!
Let me know if need further assistance
Regards,
SideNode
Hey Thanks ! But it only shows on mobile. You think you could provide the code for mobile and PC.
This is an accepted solution.
hi @Yusa1
Its SideNode! We will be happy to help you today
I specialize in developing code for mobile devices exclusively and do not provide code for desktop devices. However, if you need code that works for both mobile and desktop, you can easily apply the code I provide.
h1.product__title {
font-size: 24px;
}
span.price-item {
font-weight: bold;
}
Let me know if need further assistance
Regards,
SideNode
Hey Community! As the holiday season unfolds, we want to extend heartfelt thanks to a...
By JasonH Dec 6, 2024Dropshipping, a high-growth, $226 billion-dollar industry, remains a highly dynamic bus...
By JasonH Nov 27, 2024Hey Community! It’s time to share some appreciation and celebrate what we have accomplis...
By JasonH Nov 14, 2024