- This topic has 9 replies, 3 voices, and was last updated 6 years, 5 months ago by
Tom.
-
AuthorPosts
-
November 14, 2019 at 9:17 am #1063220
Sapir
Hello,
I have tried using “Page scroll to id” plugin.
When I’m entering this page at desktop and trying to scroll down the page using the links under the pictures, it dosen’t scroll exactly to title but a bit lower than that.
I have tried to check solutions online, but I think it’s including changing the theme files.
I’m afraid that I will destroy the theme somehow. Any solution? Maybe the theme got this option in it?
Thanks.November 14, 2019 at 9:45 am #1063243Leo
StaffCustomer SupportHi there,
Have you tried using our smooth scroll script?
https://docs.generatepress.com/article/smooth-scroll/Let me know 🙂
November 17, 2019 at 9:32 am #1065660Sapir
Hi,
And How do I make proper anchors?
There isn’t explenation for that..*I think if find how to anchor.. Think…..
And how do I add the url..?
I have added anchor this way:
<!– anchor –>
instead of scroll to me i wrote s4.3. I have copied all of the “a” line right under the <h3> line in my page.
as an anchor… the guide is saying use this:
My Section
so I copied it as it is to the url in the top of the page… but thelink is broken, not working. red link on edit.November 17, 2019 at 5:32 pm #1065932Tom
Lead DeveloperLead DeveloperThere are two ways to make an anchor.
1. Add an ID to the element you want to scroll to. For example, if you have a heading:
<h2 id="my-heading">My Heading</h2>Now you can link to
#my-heading.2. Add an
<a>element, like this:<a name="my-heading"></a>The first method is definitely the better of the two 🙂
November 18, 2019 at 1:46 pm #1066873Sapir
Thanks.
Navigation isn’t really working well, same as the plugins.
The navigation goes under the title I want it to get to. I want the title to appear.
I know that there are offset options, but I coulent get one working by now.November 18, 2019 at 3:45 pm #1066934Tom
Lead DeveloperLead DeveloperIf you’re using our smooth scroll option (https://docs.generatepress.com/article/smooth-scroll/) and our sticky navigation option, the offset should be calculated automatically without having to do anything 🙂
November 18, 2019 at 4:49 pm #1066974Sapir
I am not using sticky navigation.
But, I checked how will it work with the sticky navigation option “on”, and it’s the same.
Still getting a bit lower than the title I want it to get to.
Suggetsions?November 19, 2019 at 9:25 am #1067618Tom
Lead DeveloperLead DeveloperIs there a specific page I can check out to see the issue?
November 19, 2019 at 10:12 am #1067657Sapir
Hi Super Tom!
Don’t know what happend..
Yesterday it didn’t worked, not it’s ok…edit:
I understood the problem.
I was checking through WP builder, and the black bar of WP above hid it all the time… weired thet didnt thought of it at first?November 19, 2019 at 4:32 pm #1067894Tom
Lead DeveloperLead DeveloperStrange, so it works when you’re not logged in? We’ll take a look to see if we can integrate the admin bar as well 🙂
-
AuthorPosts
- You must be logged in to reply to this topic.