PrestaShop / prestashop-ui-kit

UI kit for PrestaShop Backoffice - A collection of styled components, based on Bootstrap 4
47 stars 29 forks source link

prestashop admin theme conflicts (prestashop ui kit does not work properly) #172

Closed alisamie97 closed 2 years ago

alisamie97 commented 3 years ago

What i did: I opened this guide Copied some sample code Then pasted in configure.tpl of my custom module.

The result: It has no effect. its like styles do not exist in prestashop admin theme.

Then what i did: I downloaded prestashop ui kit with npm. Added these lines: <link href="{$css_dir}" rel="stylesheet"> <script src="{$js_dir}"></script> It shows some changes but it has lots of conflicts with admin theme.

This is an image of what expected: image

This is an image of result: image

NeOMakinG commented 2 years ago

@stifler97 did you manage to find a solution?

I guess you can specify a selector or something like that, in order to scope the UIKit to your module

NeOMakinG commented 2 years ago

Oh, looks like the topic is really old 😆