Navigation
This is archived content. Visit our new forum.
  • Author
    Posts
  • #400907
    GB84
    Participant

    Hello,

    Although this issue might be treated elswhere in the forum, a staff member advised me to open a new topic.

    I started with a one page website to which a added a woo commerce webshop. I changed the links in the menu to complete url’s (for instance; laparoscopyboxx.com/#gebruik) and it works fine in chrome. The only thing I do not get to work in safari is the direct links to sections in the home page, when you are on the shopping page. I tried adding the additional javascript as supplied in the other threads. See posts #95398 to #99516.Can someone help me with this?

    The url is laparoscopyboxx.com.

    thanks,

    Guss

    #400977
    Zeshan
    Member

    Hi Guss,

    Thanks for writing in!

    Upon checking, there is jquery conflict in your site. It seems you have minified the script provided there (see: http://prntscr.com/8jw7xp). Please add it without minifying and see if it resolves the issue.

    Thanks!

    #401045
    GB84
    Participant

    Hi,

    I pasted the script provided in #98964. But it dit not resolve the problem. I’m sorry.

    thank you,

    Guss

    #401128
    Paul R
    Moderator

    Hi Guss,

    I can still see the code in your page.

    http://screencast.com/t/qaTjX4NNN5Q

    Kindly navigate to cornerstone > settings > custom javascript
    add a single space using spacebar then click on save.

    Hope that helps.

    #401457
    GB84
    Participant

    Hi,

    I added a space in line 9, but in cornerstone it looks like the script is recognized well. (I added a print screen).
    It still does not work in safari. The only thing I can’t check is if the javascript is added to the shopping page to. I can’t edit the woo commerce pages in cornerstone (I don’t know why?).

    thanks again.

    #401460
    GB84
    Participant

    compressed the screenshot file

    #401700
    Friech
    Moderator

    Hi Guss,

    In that case, would you mind providing us with login credentials so we can take a closer look? To do this, you can make a post with the following info:

    – Link to your site
    – WordPress Admin username / password

    Don’t forget to select Set as private reply. This ensures your information is only visible to our staff.

    Thanks!

    #555509
    GB84
    Participant
    This reply has been marked as private.
    #598697
    Rad
    Moderator

    Hi there,

    That code is specific to user’s setup. Would you mind providing what thread you’ve got it? There are many variants of that. And please add it on Customizer’s custom javascript and not at cornerstone’s custom javascript. It will only work on the page where you pasted it.

    Thanks and let me know.

    #601061
    GB84
    Participant

    This is where I got the script from.

    https://community.theme.co/forums/topic/page-links-using-ids/page/2/#post-98964

    I see you switched of the one page menu, is that right? removing the script in cornerstone and pasting it in customizer did not change anything. Can you please check what i did wrong?

    #601150
    Christopher
    Moderator

    Hi there,

    Upon checking your site I noticed primary menu and one page menu are the same. You need to add one page menu separately and use section ID as menu item URL, means instead of using http://aparoscopyboxx.com/#gebruik you should add #gebruik in menu item URL field.

    In primary menu if you want to link menu items to one page navigation sections, you should use absolute URL.

    e.g

    http://aparoscopyboxx.com/#gebruik

    After fixing this, remove the JS code and test your site again.

    Hope it helps.

    #601302
    GB84
    Participant

    I’m sorry but that is exactly what I already did. I started with that. It works in chrome but not in safari. Does that give you any ideas?

    #601328
    Zeshan
    Member

    Hi there,

    Absolute links with anchor IDs may not work properly in Safari. So, try replacing your primary links for example:

    http://aparoscopyboxx.com/#gebruik
    

    With this:

    http://aparoscopyboxx.com#gebruik
    

    Let us know how it goes. Thanks!

    #604580
    GB84
    Participant

    Tried that one. Did not work. When I’m looking through the forum, staff members are solving this with javascript, could that be the solution?

    #604671
    Christopher
    Moderator

    Hi there,

    Please review my replay one more time : https://community.theme.co/forums/topic/one-page-menu-combined-with-new-page/#post-601150

    First we need you to set up menu correctly.

    Upon checking your site I noticed primary menu and one page menu are the same. You need to add one page menu separately and use section ID as menu item URL, means instead of using http://aparoscopyboxx.com/#gebruik you should add #gebruik in menu item URL field.

    In primary menu if you want to link menu items to one page navigation sections, you should use absolute URL.

    e.g

    http://aparoscopyboxx.com/#gebruik

    Please check the attachments.

    Hope it helps.

  • <script> jQuery(function($){ $("#no-reply-400907 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>