Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
  • #1308918

    Hi there,
    I have an issue with column links not working when anchor links are used.
    I am wanting the Latest News column ( to link to
    These column links are not working on the Home page only. I duplicated the HOME page ( ) and they now on this page.
    Any idea why they will not work on the designated HOME page?
    Many thanks!!


    Hey Suze,

    Thanks for the login details. First off, could you try updating the theme to the latest version (4.8.3) to see if that helps please?

    Best regards,


    Hello Rikard,
    I’ve updated the theme to 4.8.3 and the column link unfortunately still does not work. Any further suggestions?
    Many thanks!!


    The customer has asked for a workaround as they want to go live, so I’ve created a Staging site to continue testing.
    The new URL is shown in Private Content.


    Thank you for your patience and for the login to your staging site, the column link didn’t work because it included a hashtag and it was on the homepage, the column links are not real links, they are faked with javascript, I found that by modifying the /js/shortcodes.js file I could create a workaround for you.
    I modified line 660 from this: if( (0 == url.indexOf("#")) || ((url.indexOf(link) >= 0) && (url.indexOf("#") > 0) ) )
    to this: if( (0 == url.indexOf("#")) )
    and this seems to work correctly now, please clear your browser cache and check.

    Best regards,


    Hi Mike – that worked a treat! Thank you!!
    As this change has been made to the Enfold shortcode.js file, can I assume that I will need to update this code each time a Theme update is made – is that correct?
    Many thanks!!


    Glad to hear this helped, if you are using a child theme you can follow these steps to load modified shortcode.js from child theme, so you won’t lose the modification with each update.
    Please let us know when you successfully make this change and we will close this thread.

    Best regards,


    Hi Mike,
    I’ve successfully made those changes to the child theme, so you can now close this thread.
    Thank you so much for your help – Enfold Support is the best!!


    Glad we were able to help, if you have any further questions please create a new thread and we will gladly try to help you. Thank you for using Enfold.

    Best regards,

Viewing 9 posts - 1 through 9 (of 9 total)
  • The topic ‘Column anchor links not working on home page only’ is closed to new replies.