All things Shopify and commerce
Hi,
I have added my custom font to my Shopify Dawn theme and it works well except from the number in the QT selector under the every product and the text written in the search field. Here it still shows the default font.
How can I change this?
Thank you in advance. 🙂
Best,
Maise
Solved! Go to the solution
This is an accepted solution.
Hi @Maiselnielsen,
I hope you are doing well. For your issue, you can try to put this code at the end of 'base.css' file
1. Go to Sale Channels --> Online Store --> Themes --> Click three dots button --> Edit Code
2. Edit file base.css
.quantity__input {
font-family: 'YourCustomFont', sans-serif !important;
}
.search-input {
font-family: 'YourCustomFont', sans-serif !important;
}
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now I Donate Us Here!
This is an accepted solution.
Hi,
Thank you for the quick reply!
It worked with the QT selector ! Much appreciated thank you!
However still not using the custom font in the search field. But let me correct: before you start typing in the search field it shows the custom font saying "Search" but when when you start typing it types in the default font.
Do you have any other ideas? 🙂
This is an accepted solution.
I think we should use inline CSS, like this. You find 2 files main-search and header-search. Next, find the form and patse style attribute into input tag
style="font-family: 'YOU FONT', san-serif;"
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now I Donate Us Here!
This is an accepted solution.
Hi @Maiselnielsen,
I hope you are doing well. For your issue, you can try to put this code at the end of 'base.css' file
1. Go to Sale Channels --> Online Store --> Themes --> Click three dots button --> Edit Code
2. Edit file base.css
.quantity__input {
font-family: 'YourCustomFont', sans-serif !important;
}
.search-input {
font-family: 'YourCustomFont', sans-serif !important;
}
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now I Donate Us Here!
This is an accepted solution.
Hi,
Thank you for the quick reply!
It worked with the QT selector ! Much appreciated thank you!
However still not using the custom font in the search field. But let me correct: before you start typing in the search field it shows the custom font saying "Search" but when when you start typing it types in the default font.
Do you have any other ideas? 🙂
This is an accepted solution.
I think we should use inline CSS, like this. You find 2 files main-search and header-search. Next, find the form and patse style attribute into input tag
style="font-family: 'YOU FONT', san-serif;"
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now I Donate Us Here!
It worked! Thank you very much and have a great day! 🙂
🥰 It's such my honor to help you, my friend. Can you kindly give us like, it will be the greatest motivation for us.
Thank you in advance.
B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.
B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.
BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now I Donate Us Here!
Ofc! Thank you 🥰
By 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, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024