Shopify themes, liquid, logos, and UX
I would like to adjust the font size for JUST the desktop version of my website. I do not want it to effect mobile.
Can someone help me with the appropriate code for this? I can't seem to find it anywhere, and I wish Shopify didn't make something so simple require so much work!
Thank you!!!
You can follow these instructions to adjust the font size for only desktop:
1. Go to Online Store > Themes
2. Find the theme code - Actions > Edit code
3. Please add below code in the theme.css or styles.css file
@media (min-width: 768px) {
p {
font-size: 18px;
}
}
You can adjust the font size as needed. For details, you can send me the store link, so I can support you to add the code for you.
If our suggestions are useful, please let us know by giving it a like or marking it as a solution. Thank you 😍
Sale banner, pop ups: Customize your sale banner, pop-ups and create countdown bar to boost conversion rate.
Simicart: Transform your Shopify store into a stunning and fully functional mobile app with just a few simple steps.
Product Labels & Badges: Get more sales with striking labels, badges, and banners from our 10,000+ available templates.
BSS Commerce - Full-service eCommerce Agency | Use Shopify for 1$ in the first month now
Learn how to expand your operations internationally with Shopify Academy’s learning path...
By Shopify Feb 4, 2025Hey Community, happy February! Looking back to January, we kicked off the year with 8....
By JasonH Feb 3, 2025Expand into selling wholesale with Shopify Academy’s learning path, B2B on Shopify: Lau...
By Shopify Jan 28, 2025