Viewing 19 posts - 1 through 19 (of 19 total)
  • Author
    Posts
  • #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?
    Thanks

    #1284663

    Can anyone help me?

    #1284673

    Hi,

    Could you post a link to where we can see the elements in question please?

    Best regards,
    Rikard

    #1284730
    This reply has been marked as private.
    #1284786

    sorry didn’t see that its external links ( or on different page)

    #1284789
    #1287328

    Hi 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,
    Rikard

    #1287625

    I’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.

    #1287974

    Hi 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,
    Victoria

    #1293015

    Hello,
    the website in online here:

    Please let me know.
    Thanks

    #1293412

    Hi,

    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,
    Rikard

    #1293474

    Hello,
    here the screenshot with the linked columns not working.
    https://driveplusinternational.com/not-linked.png

    Thanks

    #1294019

    Hi,

    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&region=PH&libraries=places,visualization,geometry,search:115 InvalidValueError: invalid style element type: label
    js?v=3.44&client=google-maps-pro&language=en&region=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,
    Ismael

    #1294047

    Hi, 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

    #1294309

    Hi,

    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,
    Ismael

    #1294312

    Hi,
    if I remove the map, all is working perfect.
    So there is no way to maintain both the map and links?
    Thanks

    #1294555

    Hi,

    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,
    Ismael

    #1303171

    Hello, 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.

    #1303389

    Hi,

    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

Viewing 19 posts - 1 through 19 (of 19 total)
  • You must be logged in to reply to this topic.