custom css and menu search

  • Posted in : Editor
  • malspiker
    Participant

    Hi again,

    I have here another irritating issue. To give the featured images more width I have added this lines of code to custom css.

    .single-post .featured-image img { max-width: 112%; margin-left: -6%; }

    It works always fine. But when I use the menu search and break this off – the featured image width is falling back to the default width. You can try it on my site.

    I cant explain that for me. May be you have a solution for this, please?

    Regards,
    r.

    serkan
    Moderator

    Hi,
    I uses your search function for the single post and it is still working fine on my side.
    I could not detect any issue.
    Could you share a screenshot or video with me?
    Thanks

    malspiker
    Participant

    All right.

    The first view (with the custom code) is this: https://share.getcloudapp.com/Z4uqBB4P

    I open the menu search and break it off: https://share.getcloudapp.com/d5uPkk5N

    Now I come back to the post and the featured image falls back to the default width, the custom code no longer works here: https://share.getcloudapp.com/z8u4WW2Y

    I get this in all browsers here.

    Regards,
    r.

    serkan
    Moderator

    Hi,
    I will forward this topic to our developer and I will keep you updated.
    Thanks

    ahmetsali
    Keymaster

    Hi, I have just fixed this and it will be available with the next update, thanks for the feedback.

    If you don’t want to wait for the update you may find updated js/main.js file below;

    https://themes.pixelwars.org/editor/wp-content/themes/editor-wp/js/main.js

    Cheers.

    malspiker
    Participant

    Hi,

    i am glad to hear this. But I have copied the linked file and there is no change, it seems the same version (1.0) as before is on your server?

    Regards,
    r.

    ahmetsali
    Keymaster

    Hi again, we haven’t tested the theme with WP 5.6 yet. Can you try installing the “Version Control for jQuery” plugin and navigate to “Settings > jQuery Version Control” and set;

    jQuery version : jQuery Core 1.12.4
    jQuery Migrate version : jQuery Migrate 1.4.1

    and see it works fine.

    Btw, we plan to test the theme with WP 5.6 and release a new update in a week or so.

    Cheers.

    malspiker
    Participant

    Understanding. I will wait for the new WP 5.6 Update.

    Thanks and regards,
    r.

Viewing 8 posts - 1 through 8 (of 8 total)

You must be logged in and have valid license to reply to this topic.

License required for the following item
Login and Registration Log in · Register