Shopify themes, liquid, logos, and UX
Hi,
I want to reduce the size of my collection title in my collection page on mobile only. (I want it to be at 20px)
Thanks
Solved! Go to the solution
This is an accepted solution.
Remove previous code and add this code:-
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.
@media screen and (max-width: 768px) {
.collection-hero__title {
font-size: 20px !important;
}
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Hello @imazele
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.
.collection-hero__title {
font-size: 20px !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
On mobile only not on desktop please!
This is an accepted solution.
Remove previous code and add this code:-
Go to online store ----> themes ----> actions ----> edit code ---->base.css
add this code at the end of the file and save.
@media screen and (max-width: 768px) {
.collection-hero__title {
font-size: 20px !important;
}
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Hello,
Please share "Store URL"
Thanks!
Hi @imazele '
1. Go to Online Store -> Theme -> Edit code.
2. Open your theme.css / based.css file and paste the code in the bottom of the file.
@media(max-width:767){
.collection-hero__title {
font-size: 20px !important;
}
}
If my reply is helpful, kindly click like and mark it as an accepted solution.
If you are happy with my help, you can help me buy a COFFEE
Thanks!
Hey Community! As we jump into 2025, we want to give a big shout-out to all of you wh...
By JasonH Jan 7, 2025Hey 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, 2024