The mobile version of the page is unstable

Solved

The mobile version of the page is unstable

RebeccaCC
Visitor
2 0 0
 I've encountered some issues on mobile pages. Please refer to the attached pictures. Here are the specific problems:
  1. Both slideshows always appear simultaneously on the same page.
  2. The search button in the top right corner and the menu button in the top left corner are always unresponsive.
    截圖 2024-07-18 上午11.58.25.png

      

    截圖 2024-07-18 上午11.58.41.png

      

    Thank you so much
Accepted Solution (1)

Sweans
Shopify Partner
429 89 126

This is an accepted solution.

Hi @RebeccaCC ,

The "Uncaught ReferenceError: jQuery is not defined" error occurs when the jQuery library isn't properly loaded before it's used in your Shopify theme.

To ensure jQuery is loaded correctly, please follow the steps below:

1.Go to your Shopify Admin.

2.Navigate to Online Store > Themes.

3.Find the theme you're using and click Actions > Edit code.

4.In the left sidebar, under the layout directory, click theme.liquid.

5.Add the following script tag within the <head> section to ensure jQuery is loaded:

<head>
/*other codes will be here*/
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> </head>



If you need further assistance, feel free to reach out!
I hope this helps! If it does, please like it and mark it as a solution!

Regards,

Sweans


 

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

View solution in original post

Replies 3 (3)

Sweans
Shopify Partner
429 89 126

This is an accepted solution.

Hi @RebeccaCC ,

The "Uncaught ReferenceError: jQuery is not defined" error occurs when the jQuery library isn't properly loaded before it's used in your Shopify theme.

To ensure jQuery is loaded correctly, please follow the steps below:

1.Go to your Shopify Admin.

2.Navigate to Online Store > Themes.

3.Find the theme you're using and click Actions > Edit code.

4.In the left sidebar, under the layout directory, click theme.liquid.

5.Add the following script tag within the <head> section to ensure jQuery is loaded:

<head>
/*other codes will be here*/
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.6.0/jquery.min.js"></script> </head>



If you need further assistance, feel free to reach out!
I hope this helps! If it does, please like it and mark it as a solution!

Regards,

Sweans


 

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com

RebeccaCC
Visitor
2 0 0

Hi Sweans ,
If the picture of the product cannot be displayed on the mobile version of the page,
how can I make the product image appear when clicked?

截圖 2024-07-19 下午3.07.16.png

 

Sweans
Shopify Partner
429 89 126

Hi @RebeccaCC ,

The image file is missing in your Shopify file directory.
Please double-check the image and ensure the correct one is used for the popup display.

If you need further assistance, feel free to reach out!
I hope this helps! 

Regards,
Sweans

- Was my reply helpful? Please Like and Accept the Solution or let me know by Buying me coffee!
- Want to modify or custom changes on store Hire me.
- Feel free to contact me at info@sweans.com regarding any help.
- To know more about me check out www.sweans.com