If I have a single page website and I want a section in the middle of the page to be the home page automatically how to I set the home page?
Example: Lets say I have About, Home, Services, Portfolio, Contact. I want people to start off viewing the home page and when they click About it scrolls up.
This would be more of a question for stackoverflow, but it all depends how you do it, you could set each “section” to the height of the screen then you have to offset body by the height and voila!
- Won a Competition
- Sold between 100 000 and 250 000 dollars
- Repeatedly Helped protect Envato Marketplaces against copyright violations
- Exclusive Author
- Referred between 200 and 499 users
- Author was Featured
- Author has had an Item Featured
There are many ways of approaching, maybe the simplest one is creating all your sections on divs with id/class, then hide and position all with js on init, then make them appear (.animate) on menu through a custom js function taking each id. That’s how i built my single page template. I don’t mind to send you just the core structure, if you want.