JS – errors after theme update - by Shark

This topic has 14 replies, 3 voices, and was last updated 2 years, 6 months ago ago by Rose Tyler

  • Avatar: Shark
    Shark
    Participant
    October 27, 2021 at 10:52

    I have a view JS – Error after update to new theme version

    Please, contact administrator
    for this information.
    13 Answers
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 27, 2021 at 13:59

    Hello,

    Issue caused by the code in the Kreditrechner Static block that you use in the custom tab content. You have added third-party scripts and code in the block content. We are not responsible for the third-party code. So, check what you added there and improve that or remove it. Then single product tabs appear and js errors disappear from the console.

    Regards

    Avatar: Shark
    Shark
    Participant
    October 27, 2021 at 14:11

    OK, but it worked without any changes with your older theme version, if look on the homepage with that version – the static block also exist on that page. Why it does not work anymore after the update?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 27, 2021 at 14:16

    Hello,

    Maybe it conflicts with the latest theme scripts, not sure. I did not study your custom code and scripts that you use there.

    Regards

    Avatar: Shark
    Shark
    Participant
    October 27, 2021 at 14:16

    OK, I’ve already found the error – the JS was loaded twice with the new version – thanks for the help

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 27, 2021 at 14:17

    Hello,

    Glad to hear that you sorted it out.

    Regards

    Avatar: Shark
    Shark
    Participant
    October 27, 2021 at 14:20

    I have a final question about the normal logo. The logo is displayed perfectly in all browsers. It has a width of 165px, this value was also stored in the logo customizer. The logo itself is also 165px wide – but the logo is always blurred in Google Chrome. The cache was also deleted several times – Firefox, Opera etc. – all other browsers perfect. Can you give me hint please?

    Thx

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 27, 2021 at 14:25

    Hello,

    Try to make logo image either 166 or 164px width and upload that. Also, change the logo width in the logo element settings once you upload the updated image. Check if it looks blurred after that.

    Regards

    Avatar: Shark
    Shark
    Participant
    October 27, 2021 at 14:35

    Mmm, does not work – sorry

    Please contact administrator
    for this information.
    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 27, 2021 at 14:41

    Hello,

    I meant not just change the logo width in theme options but the width of the logo file itself I have reuploaded logo file. Check and compare.

    Regards

    Avatar: Shark
    Shark
    Participant
    October 27, 2021 at 14:52

    Looks perfect, I just don’t see what you’ve changed right now. You have uploaded the retina-sized logo again, but deleted the retina logo in the settings?

    Avatar: Olga Barlow
    Olga Barlow
    Support staff
    October 27, 2021 at 15:32

    Hello,

    I have uploaded logo with the 330px width instead of 329. Sometimes this 1 px causes the issue with the blurred images and it’s not related to theme.

    Regards

    Avatar: Shark
    Shark
    Participant
    October 27, 2021 at 16:36

    OK, I have now taken the same dimensions and settings as you and it works. I don’t understand the logic behind it, but you don’t have to understand everything either 🙂

    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    October 28, 2021 at 08:59

    Hello,

    You’re welcome!

    Regards

  • Viewing 14 results - 1 through 14 (of 14 total)

The issue related to '‘JS – errors after theme update’' has been successfully resolved, and the topic is now closed for further responses

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.