I saved a CSS and HTML file in Assets folder; how do I get an url for it?

Solved
Highlighted
New Member
6 0 2

Hi All,

I am new to this. I wanted to display PMS Color chart on my website and a friend of mine sent me a zip file that has a CSS file and a HTML file and when I open the HTML file on my computer, it works perfectly fine. After reading about theme customization etc on these pages, I added these two files to the Assets folder in my theme. Now, I have no idea how to generate a url that I could use on my website. 

Any help will be appreciated. 

1 Like
Highlighted
Shopify Partner
7457 1032 2592

This is an accepted solution.

Hello, @OasisPromos 

Welcome to the Shopify community!
and Thanks for your Good question.

can please add this code theme.liquid before </head> 
just change css file name  custom.scss.css to your CSS file name

{{ 'custom.scss.css' | asset_url | stylesheet_tag }}

 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes
Highlighted
New Member
6 0 2

Hi @KetanKumar ,

Thank you very much for taking the time and helping me with this question. I added the following line to theme.liquid file:

{{ 'colors.scss.css' | asset_url | stylesheet_tag }} but I still don't know how to generate a page or url address for the file. Can you please guide me.

Once again, thank you very much for your help!

 

0 Likes
Highlighted
New Member
6 0 2

Hi @KetanKumar ,

I found the url address. Thank you very much for all your help; I really appreciate it.

Abdul

1 Like
Highlighted
Shopify Partner
7457 1032 2592

@OasisPromos 

Thanks for update and compliment 

If helpful then please Like and Accept Solution.
Want to modify or custom changes on store Hire me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help
Shopify Expert | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing
0 Likes