shahwaiz30
Forum Replies Created
-
@nikidayun hey, you need to use script tags before and after like this
<script> PUT YOUR CODE HERE </script>.
then this code will not appear on the preview page.Hey @pradnyajegstudio , Thank you so much for solve my problem.
- This reply was modified 1 year, 12 months ago by shahwaiz30.
Hey @pradnyajegstudio , thank you for this video for guides, now the Menu is perfectly working and scrolling. But I have 5 Menu button links and I want to add separate sections links in all Menu buttons, I have tried these and it is working but I am using different Scripts with different “Data-ID” (like 5 Menu buttons and 5 scripts), which you provided me in the start. Can you send me just one script instead of using 5 different scripts which will be used for all Menu button links?
Hey @pradnyajegstudio , Thanks for your quick response. Yes I have tried this HTML “Smooth behavior is working”. But unfortunately Script “EventListener” function is not working. I have uploaded some screenshots on my google drive and also mention everything. You can check these screenshots. And also I have checked script is properly working and it is showing in my inspect element.
1. First image: Script is showing properly in the inspect element. with Section ID.
2: Second Image: I have added same section “Data-ID” where I want to scroll menu link in the Script, you can also check.
3: Third Image: When I have checked Console dashboard then it was showing some error and line number.
4: Fourth Image: When I have clicked on the console error then it gone to the Script and showing a “addEventListener” error and saying Cannot read any property etc.
I think that’s why this function is not reading any Section Data-ID and showing again again errors.
https://drive.google.com/drive/folders/1U9fmLI4VdKIyZcTqNmdKMub2uabBt2Sj?usp=share_linkHey @pradnyajegstudio , I have followed your all steps which you have mentioned above and add same code in our theme. and also remove URL link inside the custom menu link, which you have mentioned. But still is not working I have tried this several of times with different ways (sometimes change the Custom links or sometime code inside ID) but unfortunately I am facing same issue again and again. You can also check this process and my screenshots which I have used, using this Google Drive Link:
https://drive.google.com/drive/folders/1U9fmLI4VdKIyZcTqNmdKMub2uabBt2Sj?usp=sharing
Please solve this problem ASAP, because I want to publish this site immediately.hey @pradnyajegstudio , Thanks for your quick reply, I have tried this but unfortunately I am facing again same issue. But now it is adding a section ID in the URL with custom menu link but not scrolling to the below section. May be I am missing something how to add this code or section ID to the website. Can you please share a short video or any reference website or some screenshots with example how can I add this to my website.
https://drive.google.com/drive/folders/1U9fmLI4VdKIyZcTqNmdKMub2uabBt2Sj?usp=share_link
I have added a my google drive link where I have uploaded some images, you can also see these images, in the First image I have showed you where I have added code, Second Image I have showed you where I want to scroll Menu Link. Third image, I have showed you how I did create a custom menu link. And the Last image, My menu link About US fetching a my About Section ID but not scrolling.- This reply was modified 2 years ago by shahwaiz30.
- This reply was modified 2 years ago by shahwaiz30.