-
AuthorPosts
-
September 24, 2015 at 3:27 am #400907
GB84ParticipantHello,
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
September 24, 2015 at 5:27 am #400977
ZeshanMemberHi 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!
September 24, 2015 at 6:48 am #401045
GB84ParticipantHi,
I pasted the script provided in #98964. But it dit not resolve the problem. I’m sorry.
thank you,
Guss
September 24, 2015 at 8:37 am #401128
Paul RModeratorHi 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.
September 24, 2015 at 2:13 pm #401457
GB84ParticipantHi,
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.
September 24, 2015 at 2:17 pm #401460
GB84Participantcompressed the screenshot file
September 24, 2015 at 7:39 pm #401700
FriechModeratorHi 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 / passwordDon’t forget to select Set as private reply. This ensures your information is only visible to our staff.
Thanks!
September 25, 2015 at 12:42 pm #555509
GB84ParticipantThis reply has been marked as private.September 25, 2015 at 9:31 pm #598697
RadModeratorHi 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.
September 28, 2015 at 4:19 am #601061
GB84ParticipantThis 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?
September 28, 2015 at 5:57 am #601150
ChristopherModeratorHi 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/#gebruikyou should add#gebruikin 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/#gebruikAfter fixing this, remove the JS code and test your site again.
Hope it helps.
September 28, 2015 at 8:09 am #601302
GB84ParticipantI’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?
September 28, 2015 at 8:34 am #601328
ZeshanMemberHi there,
Absolute links with anchor IDs may not work properly in Safari. So, try replacing your primary links for example:
http://aparoscopyboxx.com/#gebruikWith this:
http://aparoscopyboxx.com#gebruikLet us know how it goes. Thanks!
September 30, 2015 at 5:59 am #604580
GB84ParticipantTried that one. Did not work. When I’m looking through the forum, staff members are solving this with javascript, could that be the solution?
September 30, 2015 at 7:22 am #604671
ChristopherModeratorHi 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
Please check the attachments.
Hope it helps.
-
AuthorPosts
- <script> jQuery(function($){ $("#no-reply-400907 .bbp-template-notice, .bbp-no-topic .bbp-template-notice").removeClass('bbp-template-notice'); }); </script>
