matthewfedak Posted November 20, 2012 Share Posted November 20, 2012 I am new to Presta Shop and trying to create a custom theme. I have read about the documented way to do this by extending the current module css/template files where necessary here:http://doc.prestashop.com/display/PS15/Overriding+default+behaviors It all seems straight forward. I have over rode the templates and CSS for 2 modules so far with ease but on my 3rd attempt I am encountering some issues. I attempted to over ride the following CSS file: /modules/blocktopmenu/css/superfish-modified.css with this /themes/newtheme/css/blocktopmenu/superfish-modified.css but it did not work. Out of interest I also tried overwriting with this path too: /themes/newtheme/css/blocktopmenu/blocktopmenu.css but that also did not work? Hopefully someone out there can help or shed some light as to the reason for this or a solution? Thanks, Matt Link to comment Share on other sites More sharing options...
matthewfedak Posted November 20, 2012 Author Share Posted November 20, 2012 Actually just figured out thanks to user 'shoulders', correct path is [font=Consolas, Menlo, Monaco,]/themes/[/font][font=Consolas, Menlo, Monaco,]newtheme[/font][font=Consolas, Menlo, Monaco,]/[/font][font=Consolas, Menlo, Monaco,]css[/font][font=Consolas, Menlo, Monaco,]/[/font][font=Consolas, Menlo, Monaco,]blocktopmenu[/font][font=Consolas, Menlo, Monaco,]/css/[/font][font=Consolas, Menlo, Monaco,]superfish[/font][font=Consolas, Menlo, Monaco,]-[/font][font=Consolas, Menlo, Monaco,]modified[/font][font=Consolas, Menlo, Monaco,].[/font][font=Consolas, Menlo, Monaco,]css[/font] because the css file is in its own css dir in the original module Link to comment Share on other sites More sharing options...
yaniv14 Posted November 20, 2012 Share Posted November 20, 2012 place your new module in the modules folder: root/modules and make sure you hook it in BO. if you are not making changes to PHP & TPL files and only to the CSS than just overwrite the css file on the original module folder. Also don't forget to clear your cache and force compile in BO when making changes to template files Good luck Link to comment Share on other sites More sharing options...
Recommended Posts