Skip to content
Grav 2.0 is officially stable. Read the announcement →
General

How can in create a scroll to section

first-time

Started by Bjorn 2 years ago · 3 replies · 185 views
2 years ago

I'm using GRAV for a blog that I'm managing, In my blog in have Table of contents. What I would like to have is when people click on one of the table of contents that the page automatically scroll to the section. Therefore my question, how can I add a scroll to functionality?

2 years ago

Did you check a single page skeleton? It uses modular page and has what you want IIRC

2 years ago

I have not look into a single page skeleton, what do I need to do to change the blog to an single page skeleton?

And are there no plugins i can just isntall for the scroll to section?

2 years ago

I might've misunderstood. Do you mean you want to do this on a single item? Like adding anchors to titles of content sections? If so, IDK of a quick answer to that

Suggested topics

Topic Participants Replies Views Activity
General · by Jerry Hunt, 4 days ago
2 131 23 hours ago
General · by pamtbaau, 1 day ago
1 91 1 day ago
General · by Andy Miller, 2 days ago
0 75 2 days ago
General · by Marcel, 12 months ago
6 386 5 days ago
General · by Duc , 6 days ago
3 71 6 days ago