Shopify themes, liquid, logos, and UX
Want to change font type and size specifically on my product page. (photo for reference)
Hello, You want product page or collection page. Your screen shot show collection page.
If you want product page
Step 1: Navigate to your Shopify admin panel and go to "Online Store."
Step 2: Click on "Themes" and then select Edit code
Step 3: sections/main-product.liquid
add top above this code to load google font
<link href="https://fonts.googleapis.com/css2?family=Stylish&display=swap" rel="stylesheet">
<style type="text/css">
.product__title h1,
.product-single__description {
font-family: 'Stylish', sans-serif; /* Replace 'Roboto' with your chosen font */
}
</style>
then it will show like
like my product page.
Yes, sorry collection page
Is that only collection page or will effect in home page also. because card is used all over the site. Is the custom font you upload in your site. Or used other.
Your home page title of product used custom font.
Only for the collection page
Step 1: Navigate to your Shopify admin panel and go to "Online Store."
Step 2: Click on "Themes" and then select Edit code
Step 3: sections/main-collection-product-grid.liquid
<link href="https://fonts.googleapis.com/css2?family=Stylish&display=swap" rel="stylesheet">
<style type="text/css">
.card__heading,
.product-single__description {
font-family: 'Stylish', sans-serif; /* Replace 'Roboto' with your chosen font */
}
</style>
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024