Hi there,
and thank you for writing in!
You can override the CSS file loaded by the plugin for the iframe.
To do it you should:
- copy the
style.css file, you can find in yith-woocommerce-compare/assets/css
- paste it to
YOUR_THEME_FOLDER/woocommerce/
- rename it to
compare.css
After that, you can customize it (compare.css) as you prefer!
Please try this solution and let us know if everything works fine!
Have a nice day
Hi again me,
Css work fine but I find another issue:
jquery.dataTables.min.js?ver=1.10.19:66 Uncaught TypeError: Cannot read property 'aDataSort' of undefined
at X (VM1271 jquery.dataTables.min.js:66)
at wa (VM1271 jquery.dataTables.min.js:70)
at e (VM1271 jquery.dataTables.min.js:91)
at HTMLTableElement.<anonymous> (VM1271 jquery.dataTables.min.js:93)
at Function.each (jquery.js?ver=1.12.4:2)
at a.fn.init.each (jquery.js?ver=1.12.4:2)
at a.fn.init.n [as dataTable] (VM1271 jquery.dataTables.min.js:83)
at a.fn.init.h.fn.DataTable (VM1271 jquery.dataTables.min.js:165)
at a.<anonymous> (?action=yith-woocompare-view-table&iframe=yes:1139)
at a.i.emitEvent (bootstrap.js?ver=3.0:14)
This happen when I open compare iframe.
Hello,
Can I override colorbox.css ?
Best regards.
Again me 🙂
Can I translate words to another language?
Best regards.
Hi there,
1. Did this error appear after your customization?
2. Yes, you can replace the colorbox.css file
3. Yes, you can translate the plugin words, try to follow this article
Thank you on answer,
1. I just add compare.css in my child theme
2. How you mean replace colorbox.css? Inside plugin? – With next update that will gone.
3. Thanks for that. I already translate it with WPML.
Best regards.
Hi there,
1. This is a js issue, probably it’s not related to compare.css plugin. Please, could you try to remove compare.css file and test it again ? Thanks.
If the problem persist please try to deactivate all plugins and look if the issue disappear. If yes, try to enable it one by one…and look for the plugin that cause this issue. Thanks
2. Yes, you can replace it inside plugin folder. I can ask to our developers to update it in next plugin release, in this way we prevent this issue.
3. ok!
Have a nice day