Hi everyone,
I am new to Shopify, so please bare with me.
I have a few pages to add to the “Pages” section under “Online Store”. Each page need custome design. I don’t want to put the css in the html code.
Can someone tell me if I can just add a .css file in the "Assets"filder under the “Edit code” section? If not, how can I achieve it?
Thank you very much!
Hi There,
All pages on Shopify themes usually use the same template by default. That is the page.liquid file and depending on the theme, all the CSS will be in the main theme.css file. You can just add your CSS at the bottom of the main CSS file (include comments so you can track the CSS you have added)
Alternatively, you can create a new CSS file in the assets folder, then link it on the theme.liquid file or call if from the pages.liquid file.
Cheers!
Thank you very much!! Much appreciated!