Jump to content

Module customization: what's the best way to do it?


Recommended Posts

Dear all,

 

reading the Prestashop documentation it seems that the best way to adapt a module is working both on theme personalization (for visual presentation) and overriding the behaviour using /override path.

 

All clear, except that in practice I find some challenges to accomplish that.

 

For instance, what if I want to personalize block social?

 

I tried to copy CSS path from /modules/blocksocial/css/blocksocial.css to /theme/mytheme/modules/blocksocial/css/blocksocial.css without success.

 

I also tried to copy the same path into /override/modules/...

 

Whatever I do, block social continues to get styling from default blocksocial.css.

 

Where am I wrong? Please note that I am in debug mode and I switched off any cache.

 

Of course same problem occurs with every other module, except the ones that already have the hirerchy in the default-bootstarp theme. My custom theme was initiated starting from the default theme.

 

Thank you in advance and best regards

 

Mauro 

Edited by ToolMayNARD (see edit history)
Link to comment
Share on other sites

 

 

I tried to copy CSS path from /modules/blocksocial/css/blocksocial.css to /theme/mytheme/modules/blocksocial/css/blocksocial.css without success.

 

I also tried to copy the same path into /override/modules/...

 

 

 

The right path is themes/default-bootstrap/css/modules/blocksocial.css

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...