Skip to main content
All CollectionsPage SetupProduct Galleries
How To: Edit Scripts on a Product Gallery Page
How To: Edit Scripts on a Product Gallery Page
Samuel Gichuhi avatar
Written by Samuel Gichuhi
Updated over 4 months ago

When using the Art Storefronts platform, you may find that you need to implement custom code for a specific page or image on your website. Fortunately, Art Storefronts provides you with a way to do this that is quick, easy and precise.

Please Note: If you decide to implement custom code and it does not work or it breaks your website, Technical Support CANNOT AND WILL NOT be able to assist you with it. They will suggest removing the code or reaching out to a third-party developer or designer.

If you would like to learn how to edit scripts on a Product Gallery page, please follow the directions below.

  1. Log in to your Art Storefronts Control Panel and click on the Product Gallery where you want to edit scripts.
    ​
    ​
    ​

    1.png

  2. Click on the tab labeled Scripts.

    2.png

  3. The first section you will see is labeled Head. Any script placed here will be inserted within the head part of your page, and will be applied to the current page only.

    Please Note: You should only be putting JavaScript in these fields. We strongly recommend avoiding HTML or CSS in this field.

    3.png

  4. The second section you will see is labeled Body. Any script placed here will be inserted before the /body tag, and will be applied to the current page only.

    Please Note: You should only be putting JavaScript in these fields. We strongly recommend avoiding HTML or CSS in this field.

    4.png

  5. Once you have made your changes and you are satisfied with them, click the Save If you do not click Save and you navigate away from the page, your changes will not be implemented. DO NOT USE THE BACK BUTTON. If you click the back button, your changes will not be saved an all your work will be lost.

    5.png
Did this answer your question?