dude12 Posted August 7, 2015 Share Posted August 7, 2015 It would more user-friendly if "Sign out" appeared in a drop-down menu when hovering username in header. Which would also allow to display the rest of "My account" elements in that drop-down menu. Link to comment Share on other sites More sharing options...
catalin.scaesteanu Posted August 13, 2015 Share Posted August 13, 2015 It would more user-friendly if "Sign out" appeared in a drop-down menu when hovering username in header. Which would also allow to display the rest of "My account" elements in that drop-down menu. Yes it is more user friendly, that's why I decided to write a blog post on how to achieve that: http://premiumpresta.com/blog/how-to-create-a-my-account-drop-down-link-list-for-prestashop-v1-6/ Enjoy! 1 Link to comment Share on other sites More sharing options...
dude12 Posted August 16, 2015 Author Share Posted August 16, 2015 Awesome! How would you edit this, so that the drop-down menu does not show up onClick, but onMouseOver ? Thanks Link to comment Share on other sites More sharing options...
catalin.scaesteanu Posted August 17, 2015 Share Posted August 17, 2015 (edited) Awesome! How would you edit this, so that the drop-down menu does not show up onClick, but onMouseOver ? Thanks I've just replied to your comment. Here's what you need to do: As far as I know Bootstrap made the decision to use the click event for mobile devices. To enable this at mouse hover edit /root/themes/default-bootstrap/sass/global.scss file and add this code: .dropdown:hover .dropdown-menu { display: block; margin-top: 0; } This will work on mouse hover and on click too. PS: Don't forget to to recompile the sass code. Edited August 17, 2015 by Catalin Scaesteanu (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts