I’ve spent days using the Prose child theme and I find interesting the way we can customize it through custom.css and custom.php files.
I'm searching a way to integrate a sticky ‘Back to top’ with a smooth auto-scroll effect. A plugin isn't necessary and I don't want to use one for that little thing. There is a light and efficient solution in this link: http://agyuku.net/2009/05/back-to-top-link-using-jquery/
I'm trying to reproduce it but it doesn't work with Prose theme and I can't figure it out.
This simple html line "<div id="toTop">Back to Top</div>" seems to be hard to include!
In custom.php I tried with "echo “<div>”;" and "<?php echo “<div>”; ?>" but nothing happens. I thought it should work using "echo" as for any php file but maybe I'm missing something with Genesis?
And adding the "<div id="toTop">Back to Top</div>" code directly in a text widget doesn't work too.
Maybe somebody can explain me how we can create the div with Prose?
Any help would be appreciated.
You must be logged in to reply to this topic.
Subscribe to get early access to new themes, discounts and brief updates about what's new with StudioPress!