How can i to find the Js file of the corresponding page in shopify

i want to write a style about the page,but i cant find the corresponding page in shopify. where’s the js file?

1 Like

Hey @FreedanyTsui - most of the Shopify theme files for a shop are located within the code editor. The exact organization of the theme can affect what pages there are in the code editor, and most of these will be Shopify Liquid Template files.

If you’re looking for page-specific JavaScript file, it could be stored in a “Sections” or “Templates” folders, for example. For instance, if you are looking for a JavaScript file related to the product page, you can check for product.liquid under “Templates” or product-template.liquid under “Sections” and see if there is any JS code embedded in those files.

I’d recommend reaching out in our Online Store 2.0 forum and reach out with some specific info about the theme you’re using - it’s the best place to get help with themes specifically.

Hope this helps!

Al | Shopify Developer Support

1 Like