Jump to content

Activate Home Button


Recommended Posts

you can do it in two ways, with modification of php file: blocktopmenu.php but it will be a little hard to achieve, or with css and js script

if(window.location.href == "http://localhost/1606a/en/"){
    $(".sf-menu li").first().addClass("sfHover");
}
Link to comment
Share on other sites

i just mean that there are two possibilities, modificaiton of menu .php file or simple js script

so, we have two possibilities:

 

1) modification of module .php file

2) script that i attached above

 

 

use this script for example in global theme .js file, in $(document).ready(function(){});

Link to comment
Share on other sites

×
×
  • Create New...