Shopify themes, liquid, logos, and UX
I like the font size of my website when viewed from a laptop but when viewed on a phone the font size is way to big. Specifically, all of the titles and the subtitle text is very large. The body text looks fine. How do I change the font size of the title and subtitle text only in the mobile version, while keeping the desktop version the same as it currently is?
My website is sisubracelets.us
For context the home page is all title and subtitle text.
The paragraph under "Life in the Hoopa Valley" in the shop page is body text.
Solved!Go to the solution
This is an accepted solution.
Try bellow code.
Go to Online Store->Theme->Edit code->base.css->paste bellow code in bottom of file.
@media只有屏幕和(max-width: 680 px) {.banner__box > *:first-child { font-size: 3rem !important; } .subtitle { font-size: 2rem !important; } }
Could you provide me store URL? I should be able to answer your question.
Yours faithfully!
Hey@sanjivp27,
Welcome to the Shopify community!
You can follow the instruction below:
Go to Online Store->Theme->Edit code->base.css->paste bellow code in bottom of file.
@media只有屏幕和(max-width: 680 px) {.h0 { font-size: 5rem !important; } .subtitle { font-size: 2rem !important; } }
If you feel like my answer is helpful, pleaseLike and mark it as a solution.Let me know if you have any further questions.
Thank you!
Raman
Thank you very much for the help. However, adding this code didn't seem to change anything. Any additional help will be appreciated.
store url: sisubracelets.us
This is an accepted solution.
Try bellow code.
Go to Online Store->Theme->Edit code->base.css->paste bellow code in bottom of file.
@media只有屏幕和(max-width: 680 px) {.banner__box > *:first-child { font-size: 3rem !important; } .subtitle { font-size: 2rem !important; } }
User | RANK |
---|---|
103 | |
75 | |
71 | |
43 | |
39 |
Understanding common issues causing Shopify Payment's payout failures can help you quickly...
ByTrevor Oct 19, 2023Discover how to effectively use the Shopify Community forum. Learn tips for creating new t...
ByTrevor Oct 11, 2023It’s never too early to spot the Christmas trees adorning your block or the wreaths hangin...
ByJasonh Oct 5, 2023