How do I reduce the size of the title only on mobile?
Topic summary
A user needed to reduce the Featured Collection title size specifically for mobile devices on their Shopify store.
Solution provided:
- Navigate to Shopify Admin → Online Store → Theme → Edit code
- Locate the CSS file (base.css, theme.css, styles.css, or theme.scss.liquid)
- Add custom CSS media query targeting screens with max-width 767px
- The code sets the collection title wrapper h2 font-size to 15px with !important flag
Outcome:
The solution was successfully implemented and resolved the issue. The user confirmed it worked as intended.
Hi @GinaB2 , Can you kindly share your store link (with the password, if any) with us? We will check it and suggest you a solution if possible.
deelsighthoundrescue.ie
Password DSR.
I just want to change it to smaller on mobile
Hi @GinaB2 ,
You can try this code by following these steps:
Step 1: Go to Shopify Admin → Online Store ->Theme → Edit code
Step 2: Search file base.css, theme.css, styles.css or theme.scss.liquid
Step 3: Insert the below code at the bottom of the file → Save
@media only screen and (max-width: 767px) {
.collection__title.title-wrapper h2 {
font-size: 15px !important;
}
}
Here is result:
Hope this can help you,
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you ![]()
That worked. Thanks so much!



