-
AuthorPosts
-
March 1, 2021 at 11:29 am #1284370
Hello,
On the homepage of the website I’m building, there are 8 columns, each of which links to a different anchor on the Products page.
This is an example:
column1 —> link: mywebsite.com/products/#anchor-1
column2 —> link: mywebsite.com/products/#anchor-2
column3 —> link: mywebsite.com/products/#anchor-3
…These links are not working.
How Can I solve?
ThanksMarch 2, 2021 at 11:34 am #1284663Can anyone help me?
March 2, 2021 at 11:59 am #1284673Hi,
Could you post a link to where we can see the elements in question please?
Best regards,
RikardMarch 2, 2021 at 1:32 pm #1284730This reply has been marked as private.March 2, 2021 at 3:55 pm #1284786sorry didn’t see that its external links ( or on different page)
March 2, 2021 at 3:58 pm #1284789March 11, 2021 at 8:50 am #1287328Hi marcomila,
I’m very sorry for the late reply. Are you still having problems with this? Could you please publish the site on a server which we can access without having to edit our host files please?
Best regards,
RikardMarch 12, 2021 at 10:27 am #1287625I’m still having problems with this.
I can’t publish the site util this problem is fix.
So please let me know if u can fix it.Thanks.
March 13, 2021 at 2:01 pm #1287974Hi marcomila,
We need to see the actual css and html to be able to propose a solution for you. Please get back to us when you get the website to some testing server.
Best regards,
VictoriaApril 7, 2021 at 10:03 am #1293015April 9, 2021 at 4:30 am #1293412Hi,
Thanks for that. I checked the product links in your menu from the home page, but I can’t see any problem on my end. The links in the sub menu on the product page are working too. Could you let us know how to reproduce the problem you are having please?
Best regards,
RikardApril 9, 2021 at 10:38 am #1293474Hello,
here the screenshot with the linked columns not working.
https://driveplusinternational.com/not-linked.pngThanks
April 13, 2021 at 5:10 am #1294019Hi,
Thank you for the update.
We are not yet sure why this is not working in your installation, but we noticed these errors in the browser console, which might be causing the issue with the column links.
js?v=3.44&client=google-maps-pro&language=en®ion=PH&libraries=places,visualization,geometry,search:115 InvalidValueError: invalid style element type: label js?v=3.44&client=google-maps-pro&language=en®ion=PH&libraries=places,visualization,geometry,search:115 InvalidValueError: invalid style element type: label
It seems to be related to the map. Did you install a map plugin?
Best regards,
IsmaelApril 13, 2021 at 9:29 am #1294047Hi, thanks for the reply.
No, I do not use a map plugin.
The map you see is a map from Google MyMap, it’s shown on the website thanks to a google iframe.Let me know, thanks
April 14, 2021 at 10:05 am #1294309Hi,
Thank you for following up.
Is it working correctly when you temporarily remove the map? The map generates the error in the console, which might be also affecting the column links. To test it, please save the content of the front page as template, then apply it on a temporary test page. Remove the map, and see how it goes.
Best regards,
IsmaelApril 14, 2021 at 10:11 am #1294312Hi,
if I remove the map, all is working perfect.
So there is no way to maintain both the map and links?
ThanksApril 15, 2021 at 11:37 am #1294555Hi,
Thank you for the info.
Have you tried adding the map the other way, using a plugin or a custom script? You can also use the map element from the theme. Unfortunately, we are not really sure how that error occurs, so it will not be easy for us to debug the map issue.
Would you mind posting the embed script for the map using pastebin? Did you configure the style of the map manually? According to the trace, the issue or error occurs because of an invalid style element type: label.
Best regards,
IsmaelMay 31, 2021 at 1:30 pm #1303171Hello, i have the same problema on another web site:
The column where is this text:
Original
Hotbray Ltd is the source for Original Jaguar, Land Rover and Rover vehicle parts for customers around the world.has a link to https://hotbraysite.wpengine.com/offer/#original, but it doesn’t work. If I use https://hotbraysite.wpengine.com/offer/, it works, so the problem seems to be the anchor.
Hope you can finally fix this issue.
June 1, 2021 at 11:28 am #1303389Hi,
Yes, this is because of the anchor. This will only work when the destination anchor is in the same page as the column that contains the anchor link. You can find this condition in the enfold/js/shortcodes.js file around line 658.
var reader = column.hasClass('av-cell-link') ? column.prev('a.av-screen-reader-only').first() : column.find('a.av-screen-reader-only').first(); url = url.trim(); if( (0 == url.indexOf("#")) || ((url.indexOf(link) >= 0) && (url.indexOf("#") > 0) ) ) { reader.trigger('click'); return; }
Try to remove that line to allow the column link to proceed.
Best regards,
Ismael -
AuthorPosts
- You must be logged in to reply to this topic.