Support » Theme: Kontrast » I had to remove 1.2.1 – serious issue with header menu

  • Resolved webbeetle

    (@webbeetle)


    The new version 1.2.1 completely messed up my menu! The menu doesn’t collapse any longer and loads twice (shadowed over first load).
    Screen capture: https://snipboard.io/OeQWxr.jpg

    I have wound my site back to Kontrast 1.1.7, the only zip-file I could find. Now everything is okay again.
    I had no issue with the earlier update to version 1.2.0 but I cannot find a download location of the zip-file for it.

    My site is still on WordPress 5.4.2 because I read about several issues with the latest 5.5. All other plugins are up-to-date, PHP version is 7.3.20. I’m using “Disable Gutenberg” plugin because I learnt to hate blocks with MailChimp…

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Theme Author Alexander Agnarson

    (@alxmedia)

    Try to clear wp site cache and then force refresh the page once or twice with CTRL+F5.

    The menu looks like that when the old style.css is still loaded.

    See more here:
    https://wordpress.org/support/topic/issues-with-the-header-on-wp5-5-0/
    https://wordpress.org/support/topic/after-update-menu-crashed/

    The menu “loads twice” as the mobile menu, when used, is hidden with css for anything more than 720px width.

    Here you can see 1.2.1 working: http://demo.alx.media/kontrast/

    Theme Author Alexander Agnarson

    (@alxmedia)

    If you are afraid of WP 5.5, one thing that you can use to make it work with old plugins etc is this: https://wordpress.org/plugins/enable-jquery-migrate-helper/

    I ran it on alx.media temporarily so I could fix some js issues with fancybox.

    The theme itself should work fine with either 5.4.2 or 5.5.

    Theme Author Alexander Agnarson

    (@alxmedia)

    As for downloading older theme/plugin versions, just follow this simple guide:
    https://www.competethemes.com/blog/download-older-version-plugins-themes/

    You basically just need to edit the download URL version number.

    webbeetle

    (@webbeetle)

    I had cleared my WP-Rocket cache several times. And also I went into CloudFlare to activate development mode. Nothing changed it! My suspicion has been that it didn’t load the styles properly. But I was not willing (and still am not) to leave my active website in a mess for long…
    ps: I tend to use [Shift]+reload to bypass browser cached versions.

    pps: I still have a number of unresolved/unanswered tickets below. Some are as old as nearly 3 months. The most pressing one is: how can I load different header images for smartphone and tablet?

    ppps: Nick (from Hueman) simply leaves all old versions on Github – that’s where i looked.

    Theme Author Alexander Agnarson

    (@alxmedia)

    Strange that clearing those caches didn’t work. I don’t have an answer why – it worked for everyone else. Are you using Chrome of Firefox, or testing with both?

    As for Nick updating Hueman, he maintains 2 themes and has time to do versions like that. I have 25 themes to update, so I try to do it as fast as possible – so no GitHub versions from me like that I’m afraid.

    Theme Author Alexander Agnarson

    (@alxmedia)

    I just realized what is wrong I think. You need to update header.php and footer.php of your child theme to the latest from v1.2.1. Not sure why I forgot about that.

    webbeetle

    (@webbeetle)

    Thanks, Alexander!

    I’m just comparing the 2 versions, and yes there are changes to the
    <?php if ( has_nav_menu(‘topbar’) ): ?> code in the header.php… I don’t have custom version of footer.php in my child theme = so that’s one less to worry about.

    A good practice I liked from Nick with the Hueman theme (just as a suggestion): he has a running page of release notes, where he mentions if a version update affects child theme files, complete with a list of the affected files.

    (It’s just that the Hueman theme has become a “monster” since you sold it on. From 1.9mb to now around 6.5mb zipped. For example, it takes me ages to find any function in all the sub/sub/sub-folders. The reason I switched over. And of course it’s getting slower page speed from all the convoluted add-ons.)

    I’m optimistic and mark this as “resolved”, although I haven’t uploaded the changes as of now. 😉

    Theme Author Alexander Agnarson

    (@alxmedia)

    Looks like we’ve solved it at last then – lets hope so at least 🙂

    As for release notes, I kind of do it here when there are big updates: https://alx.media/blog/ – although I should start telling if it breaks child theme parts. Good point.

    From 1.9mb to 6.5mb? Ouch. I can understand if you don’t want more of that.

    Same problem here, and upgrading my header.php (child) solved it. Thanks Alex.

Viewing 9 replies - 1 through 9 (of 9 total)
  • You must be logged in to reply to this topic.