Font missing only in search field and QT selector

Solved

Font missing only in search field and QT selector

Maiselnielsen
Excursionist
27 1 2

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

Accepted Solutions (3)

BSSCommerce-B2B
Shopify Partner
1358 367 429

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

BSSCommerceB2B_1-1722700054293.png

 

2. Edit file base.css

 

.quantity__input {
  font-family: 'YourCustomFont', sans-serif !important;
}

.search-input {
  font-family: 'YourCustomFont', sans-serif !important;
}

 

BSSCommerceB2B_2-1722700160360.png

 

 

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!

View solution in original post

Maiselnielsen
Excursionist
27 1 2

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? 🙂 

View solution in original post

BSSCommerce-B2B
Shopify Partner
1358 367 429

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;"

BSSCommerceB2B_0-1722702346160.png

 

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!

View solution in original post

Replies 6 (6)

BSSCommerce-B2B
Shopify Partner
1358 367 429

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

BSSCommerceB2B_1-1722700054293.png

 

2. Edit file base.css

 

.quantity__input {
  font-family: 'YourCustomFont', sans-serif !important;
}

.search-input {
  font-family: 'YourCustomFont', sans-serif !important;
}

 

BSSCommerceB2B_2-1722700160360.png

 

 

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!

Maiselnielsen
Excursionist
27 1 2

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? 🙂 

BSSCommerce-B2B
Shopify Partner
1358 367 429

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;"

BSSCommerceB2B_0-1722702346160.png

 

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!

Maiselnielsen
Excursionist
27 1 2

It worked! Thank you very much and have a great day! 🙂

BSSCommerce-B2B
Shopify Partner
1358 367 429

🥰 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!

Maiselnielsen
Excursionist
27 1 2

Ofc! Thank you 🥰