Autoscroll to #content on single pages and posts
-
Hi everybody!
I’m working on a site where the single pages and posts should have a full size header image just as on the home page. However to improve the usability, the single pages and posts should automatically load on the content part of the page/post so whoever is using the site doesn’t have to scroll over the whole header image every time they visit a new page or post.
I have no idea how to do this, apart from figuring out it should be done with javascript (which I have little to no experience/knowledge with). I’ve read through the jquery.scrollTo.js file and I have a feeling I should be using that to construct a function, but I have no idea how to go about it. I guess I should be targeting the .site-content-contain div in the individual page.php and single.php files? But other than that I’m in the dark.
Does anyone of you maybe have a solution to this, or is it maybe even possible to do with just css?
Thanks for your help in advance!
The page I need help with: [log in to see the link]
- The topic ‘Autoscroll to #content on single pages and posts’ is closed to new replies.