Grid theme / Homepage links not working (404)

Solved
aubertlefebvre
New Member
2 0 0

Hello 

I've bought the grid theme and I've put some slides on the homepage thanks to the masonry, unfortunately, even if I put the collection link when you click on the pictures, we go to a 404 page.

How can I resolve this ?

thanks a lot !  

0 Likes
Speedimize
Shopify Partner
289 46 122

Hi @aubertlefebvre 

Can you please share the URL of your shop?

So we can check this. 

We Speedimize your store
Have a problem with speed performance, send me email here: hello@speedimize.io


If our advice was helpful please LIKE or ACCEPT SOLUTION
0 Likes
aubertlefebvre
New Member
2 0 0

Hello

 

thank you for the answer

 

here is the link : https://laboutiquedegregguillotin.com/

 

have a nice day

0 Likes
Speedimize
Shopify Partner
289 46 122

This is an accepted solution.

Hi @aubertlefebvre 

Thanks for getting back to me. 

Due to a bug in grid.js, when you click on the image, redirect to the URL "undefined".

There are two ways to fix it. You need to edit it slightly grid.js. Find it in the grid.js http://joxi.ru/vAW4Jgksg4OQgr dedicated space and here currentTarget.dataset. url change the url to masonryUrl. To search inside a file, use hotkey ctrl+f or cmd+f. You can therefore search for the word _redirectMasonryFeatures

In the end, it should be like this:

currentTarget.dataset.masonryUrl;

The second method is when inspecting an item using the browser's devtools http://joxi.ru/Y2Ly3ndI7NEJEA you need to change the data-masonry-url attribute to just data-url. We hope that there will be a file specifically for the banner where masonry is used and change it there.

If you have any problems, you can add us as staff, we will quickly fix it for you.

We Speedimize your store
Have a problem with speed performance, send me email here: hello@speedimize.io


If our advice was helpful please LIKE or ACCEPT SOLUTION
0 Likes
nomadehome
Tourist
3 0 1

Hello,

I am having this exact same issue with the masonry feature on my Grid theme, but I cannot find the section in order to edit the coding myself. Am I able to have someone access my site in order to edit it for me?

Thanks so much.

0 Likes