Hi –
The site I am making is http://sweepp.com.au/. The home page is a version of a one-page site, with internal links. There are also some sub-pages (FAQ, Blog), so it’s not truly a one-page site.
What we would like to have happen is for the home page to scroll to the top when the user clicks the logo in the upper left hand corner. Right now, clicking on the logo reloads the page.
On the subpages, we still want the logo to send the user to the homepage.
Is this possible?
Thanks!
Hey annebetts!
Try adding this to the bottom of your functions.php file.
add_filter( 'avf_logo_link', 'enfold_customization_logo_link' );
function enfold_customization_logo_link( $link ){
if ( is_front_page() || is_home() ) { $link = "#test"; }
return $link;
}
And change “#test” to whatever you want to link it to.
Regards,
Elliott
Works perfectly! Thank you!