• Hi,

    As I know it is not possible style stuff inside iframe. Because you use iframe I can not style stuff inside. Does it exist way to style content inside compare iframe?

    Best regards.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author YITHEMES

    (@yithemes)

    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:

    1. copy the style.css file, you can find in yith-woocommerce-compare/assets/css
    2. paste it to YOUR_THEME_FOLDER/woocommerce/
    3. 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

    Thread Starter josmatic

    (@josmatic)

    Thank you ??

    Best regards.

    Thread Starter josmatic

    (@josmatic)

    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.

    Thread Starter josmatic

    (@josmatic)

    Hello,

    Can I override colorbox.css ?

    Best regards.

    Thread Starter josmatic

    (@josmatic)

    Again me ??

    Can I translate words to another language?

    Best regards.

    Plugin Author YITHEMES

    (@yithemes)

    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

    Thread Starter josmatic

    (@josmatic)

    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.

    Plugin Author YITHEMES

    (@yithemes)

    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

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Style iframe’ is closed to new replies.