Spheerys Posted October 21, 2011 Share Posted October 21, 2011 Hi, I try to design the new horizontal top menu (superfish) as usual, with copying the original .css file on the directory /themes/mytheme/css/modules/blocktopmenu/superfish-modified.css, but that doesn't works. I don't want to edit the original files located on /modules/blocktopmenu/css/superfish-modified.css How can I make the module "standard compliant in Prestashop" ? Link to comment Share on other sites More sharing options...
crea34 Posted October 21, 2011 Share Posted October 21, 2011 Add in php file public function hookHeader() { Tools::addCSS(($this->_path).'css/superfish-modified.css', 'all'); } Link to comment Share on other sites More sharing options...
Spheerys Posted October 21, 2011 Author Share Posted October 21, 2011 On which php file ? Because if I edit /modules/blocktopmenu/blocktopmenu.php, this modification will be desperear on the next update no ? Link to comment Share on other sites More sharing options...
crea34 Posted October 21, 2011 Share Posted October 21, 2011 No more update for this menu, this version is only for this thème i think, ask the team for that, last version is 2.8.2 on the official developper site Link to comment Share on other sites More sharing options...
prestaZ Posted March 17, 2012 Share Posted March 17, 2012 What was the solution to above? I also do not want to edit the original files, but even if I put superfish-modified.css under themes/mytheme/css/blocktopmenu/ the changes are not reflected in the shop. Is there any link missing? Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now