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 · 265 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 jean-louis67, 3 weeks ago
2 308 3 weeks ago
General · by Andy Miller, 3 weeks ago
0 311 3 weeks ago
General · by Veehem, 4 weeks ago
0 263 4 weeks ago
General · by milkboy, 4 weeks ago
0 266 4 weeks ago
General · by ian russell, 1 month ago
2 335 1 month ago