Have your say in Community Polls: What was/is your greatest motivation to start your own business?

How can I add files to my Code editor for customization?

How can I add files to my Code editor for customization?

collins276
Trailblazer
213 1 32

Hi guys,

I have a question.

I have created new page in my store? How can I add files to Code editor so I can edit the code (adding 'class'/'id', customizing css), because they don't have their own 'class/id' so if I fixed them in Base.css, they would affect other elements.

 

Screenshot.png

 

 

 

 

 

Reply 1 (1)

magenest
Shopify Partner
162 12 23

Hey there MiuMiu237,

 

You can refer to these steps:

- Create file css,js in the Assest folder
- In the file liquid, link to file css, js by command:
<script src="{{ 'setup.js' | asset_url }}" defer="defer"></script>
<script src="{{ 'setup.css' | asset_url }}" defer="defer"></script>

Magenest - One-stop Digital Solution Provider
- Don’t forget to drop a thumbs-up and Mark it as a Solution if you find our response useful
- Elevate your online business with our Shopify experts and professional designers