mh_amri Posted April 1, 2014 Share Posted April 1, 2014 hi, i want to override the superfish css, it's placed in module\blocktopmenu\css\superfish-modified.css it's not with same name of the module, i can't put it in theme\my_theme\modules\blocktopmenu\ so whenever i update the presta i have to copy it manually in same folder. also may i know in which php file presta is deciding to read from the them or module? how it understand which file exist.... thanks Link to comment Share on other sites More sharing options...
dioniz Posted April 1, 2014 Share Posted April 1, 2014 (edited) you need to put override file in yourtheme/css/modules/blocktopmenu/css/ All override .css files are in yourtheme/css/modules/ and then same path as default module path Edited April 1, 2014 by dioniz (see edit history) Link to comment Share on other sites More sharing options...
camereroloco Posted April 4, 2014 Share Posted April 4, 2014 The same way for override "blocktopmenu.php" doesnt work, any idea why ?? I copyed the file /modules/blocktopmenu/blocktopmenu.php into : /themes/my-theme/modules/blocktopmenu/blocktopmenu.php There is other change to do in order that override works ?? (ps1.6) Link to comment Share on other sites More sharing options...
dioniz Posted April 6, 2014 Share Posted April 6, 2014 Override works only for .tpl and .css files as i know 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