Override the default css for magento2

magento
magento2
#1

Hello, I’m struggling with the customisation of the Algolia M2 module. What I’m doing is the creation on a custom theme, I’m trying to override the default algoliasearch.css as explained here but is not mentioned where the overrides should be placed.
Like many other modules, I’m trying to override the file with this hierarchy structure:
33%20pm|222x206,100%
But is not working, I tried also Algolia_AlgoliaSearch/web/internals. Obviously, I’m in dev mode and I’m flushing the cache every time.
How am I suppose to override the css?
Thanks,
David

1 Like
#2

Hi @6678,

Thanks for reaching out and our apologies for the delay in response. When creating your custom theme, in your layout XML, did you declare your new style sheet? You can look at our custom theme layout here as reference:

Let us know if you have any questions and if this helps you out with your customization.

Best,

Betty