Changing font designs for a specific section

Solved

Changing font designs for a specific section

Pyimk
Explorer
50 2 3

Hello, I am using Craft Theme.
I am trying to change font design from a specific section. I would like to test Arial font.

The sections i want to change is Rich text, Multicolumn and especially the font style for the product name.
Please explain step by step. Thanks

Accepted Solutions (2)
Sweans
Shopify Partner
429 89 126

This is an accepted solution.

Hi @Pyimk ,

Add this code for change font family in product page too

 

 

.inline-richtext {

    font-family: Arial !important;

}

 

 

If it does, please like it and mark it as a solution! 

If you need further assistance, feel free to reach out!

Regards,
Sweans

 

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

View solution in original post

BSSCommerce-B2B
Shopify Partner
1972 564 568

This is an accepted solution.

Hi @Pyimk , 

You can add the script in base.css: 

 

.rich-text, .inline-richtext {
  font-family: Arial !important;
}
.multicolumn-list {
  font-family: Arial !important;
}
.product__title h1 {
    font-family: Arial !important;
}
.card__heading a {
    font-family: Arial !important;
}

The result after I change it on inspect view: 

#font design of featured collection to Arial: 

BSSCommerceB2B_0-1722336627856.png

#Product page title: 

BSSCommerceB2B_1-1722336663193.png

 

Hope it helps! 

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

View solution in original post

Replies 10 (10)

Liquid_xPert_SJ
Shopify Partner
1381 143 216

@Pyimk 

you need to upload or link the font you want in the theme.liquid file or the style sheet file. after that you need to target the section class or ID and then target the title and assign font family to that section.

 

Thanks

- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂- If you need any technical assistance, feel free to send me a DM. You no longer have to search for answers without getting a response.
- Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
- Your Shopify Solution Specialist For further discussion contact: Email ID- Liqud_3xPert_SJ OR Whatsapp
- Buy a Coffee for me to get more frequently help 🙂
- Hire Me to unlock the full potential of your e-commerce store Now 🙂
- Need THEME UPDATES but have custom codes? No worries, for an affordable price.

BSSCommerce-B2B
Shopify Partner
1972 564 568

HI @Pyimk ,

I have reviewed your requirement, you just need to edit css script and the issue will be resolved.  You can follow my instructions! 

 

Step 1: Go to Admin -> Online store -> Theme > Edit code:

BSSCommerceB2B_0-1722332150304.png

 

Step 2: Search for the file base.css, theme.css, styles.css or theme.scss.liquid (depend on your theme). And add this code snippet to the end of the file.

 

.rich-text {
  font-family: Arial, sans-serif !important;
}
.multicolumn-list {
  font-family: Arial, sans-serif !important;
}
.product-title {
  font-family: Arial, sans-serif !important;
}

 

In this step, you chose font-family to sections as you want to change font: rich text, multicolumn, product-title.

 

Step 3: Save your code and reload this page.

By following these steps, you should be able to change the font design for the specified sections in the Craft theme.

If not, Can you kindly share your store link (with the password, if any) and share the details of your problem (screenshot/ record) with us?

We will check it and suggest you a solution if possible.

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

Have a nice day sir! 

 

 

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

Pyimk
Explorer
50 2 3

It is not working.
Here is the store link.
https://findla.co/
The Rich Text font is not only for home page but also for other pages such as product pages.

 

BSSCommerce-B2B
Shopify Partner
1972 564 568

Hi @Pyimk ,

I have checked your website,

In addition to using the rich-text classes, you are also using inline-richtext classes.

The product titles are currently using the CSS of the <h1> tag.

Therefore, I have made some adjustments to the CSS. You can try changing the code like this:

.rich-text, inline-richtext {
  font-family: Arial, sans-serif !important;
}
.multicolumn-list {
  font-family: Arial, sans-serif !important;
}
.product-title h1 {
  font-family: Arial, sans-serif !important;
}

Save this code, and result will be: 

BSSCommerceB2B_0-1722334652167.png

 

I hope these instructions will help you. If they are helpful, please give us likes and mark as the solution.

 

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

Pyimk
Explorer
50 2 3

I have copied and paste the code but i doesn't see any changes.

 

BSSCommerce-B2B
Shopify Partner
1972 564 568

This is an accepted solution.

Hi @Pyimk , 

You can add the script in base.css: 

 

.rich-text, .inline-richtext {
  font-family: Arial !important;
}
.multicolumn-list {
  font-family: Arial !important;
}
.product__title h1 {
    font-family: Arial !important;
}
.card__heading a {
    font-family: Arial !important;
}

The result after I change it on inspect view: 

#font design of featured collection to Arial: 

BSSCommerceB2B_0-1722336627856.png

#Product page title: 

BSSCommerceB2B_1-1722336663193.png

 

Hope it helps! 

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

Sweans
Shopify Partner
429 89 126

Hi @Pyimk ,


To change font size

1.Go to your Shopify admin panel.

2.Navigate to Online Store > Themes.

3.Find the Craft theme and click on Customize.

4.click Actions > Edit code.

In the left sidebar, under the layout directory, click base.css

 

paste the code and save

 

 

/* Multicolumn Section */

.multicolumn-list h3,

.multicolumn-list p {

    font-family: Arial !important;

}

/* Rich Text Section */

.rich-text h2,

.rich-text p {

    font-family: Arial !important;

}

/* Product Name */

.product__title {

    font-family: Arial !important;

}

 

 

 

I hope this helps! If not, please provide url of website.

If it does, please like it and mark it as a solution! 

If you need further assistance, feel free to reach out!

Regards,
Sweans

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

Pyimk
Explorer
50 2 3

I think Rich text is working.
For multicolumn,( the main header?) is not working
The product font style doesn't change too.

Here is the store link.
https://findla.co/

Sweans
Shopify Partner
429 89 126

This is an accepted solution.

Hi @Pyimk ,

Add this code for change font family in product page too

 

 

.inline-richtext {

    font-family: Arial !important;

}

 

 

If it does, please like it and mark it as a solution! 

If you need further assistance, feel free to reach out!

Regards,
Sweans

 

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

Pyimk
Explorer
50 2 3

Everything is working expect the product name in Product pages.
I would also appreciate it if you could help me change the font design of featured collection to Arial too.