• Resolved livetrue

    (@miopiccolofiore)


    Hi all,

    I’ve just installed and created a new CPT, first impression is wow! However I have some issues on the frontend, with visualization/interact. In my website there is a navbar, the menus and its links are ok, but shrinking of the navbar no longer works during scrolling, on the right search icon appear frozen and the search field does not appear if I click on it. The other WordPress posts/pages are working fine, but this new CPT is giving me some serious headaches.

    Thanks to those who want to help me solve.

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

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

    (@keraweb)

    Hi @miopiccolofiore

    This doesn’t really sounds Pods related since we only provide the CPT in this case.
    My first guess would be a theme issue, I can see a Javascript error happening. Something to do with “hummingbird assets”?

    Cheers, Jory

    Thread Starter livetrue

    (@miopiccolofiore)

    @keraweb

    Hi Jory and thank you for replying to the topic.

    In fact the problem persists even after installing Hummingbird, unfortunately. At this point I suppose it is a limitation of the Theme, especially JavaScript (as you also asserted) responsible for the “actions” on the navbar (the “hotdog icon” menu in mobile version does not work and also the lens icon for the search for desktop and mobile frontend). I no longer know what to do, whether to radically change the theme, as (after checking in the settings) a “behavior” in the presence of the CPTs is not listed, or to somehow manage, through “help” to overcome this problem, which is insurmountable for me, because I know relatively little of JavaScript and don’t even know where and how to start.

    Greetings
    Lorenzo

    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @miopiccolofiore

    Could you try disabling Hummingbird? It seems that this script causes the Javascript error and is most likely the cause of this error.

    Do you use caching tools that minimize/modify assets like Javascript and/or CSS?
    If so, these could also cause such problems.

    Cheers, Jory

    Thread Starter livetrue

    (@miopiccolofiore)

    @keraweb

    The problem was present even before I installed Hummingbird, however now I have disabled it, no caching tools in use.

    I cleared the browser cache and with reloading the website nothing has changed, unfortunately!

    I also contacted the developers of the theme, but they couldn’t tell me why this problem occurs.

    In the documentation of the theme (https://documentation.cmsmasters.net/my-religion/#!/blog_setup) I found a paragraph that is suspicious to say the least! In the post format type box (see screenshot: https://miopiccolofiore.it/wp-content/uploads/2022/09/2022-09-02-191827.jpg) only “standard format” is written. Could this be the “probable” limitation to the functioning of JS with a CPTs?

    • This reply was modified 2 years, 6 months ago by livetrue.
    Thread Starter livetrue

    (@miopiccolofiore)

    Resolved!

    Soon I’ll explain where the problem was and how I managed to solve it…

    Thread Starter livetrue

    (@miopiccolofiore)

    Finally a sigh of relief!

    Thanks to Jory Hogeveen (@keraweb) for giving me the “cue” to look for the problem in the list of my active WordPress plugins, and … BINGOOO!

    The blocking of some features (in my opinion referring to lines of JS code) of the theme, which however seem to be fundamental for the correct functioning of the navbar, of the navigation menu in mobile version, and finally of the search icon on the right, were caused from a Slider Revolution Add-On (here the screenshot: https://miopiccolofiore.it/wp-content/uploads/2022/09/2022-09-02-200931.jpg) I would never have thought that!

    In fact, by deactivating and reactivating this plugin, the JS features listed above of the web page, named in the> Title of the topic, worked and immediately no longer worked, even without clearing the cache, all this is nothing short of incredible, right?

    It took a while, because first I had to deactivate all the plugins, and immediately the page worked as it should, so one at a time I deactivated and reactivated them to check which plugin was blocking the JS of the CPT page in question.

    Anyway, all is well that ends well!

    Thanks Jory for the support, good job everyone.

    Lorenzo

    Thread Starter livetrue

    (@miopiccolofiore)

    RESOLVED!

    • This reply was modified 2 years, 6 months ago by livetrue.
    Plugin Author Jory Hogeveen

    (@keraweb)

    Hi @miopiccolofiore

    Thank you for sharing!
    Any plugin that adds/uses Javascript could cause such errors.
    Unfortunately this can cause issues with Javascript used by other plugins since it simply stops running because of the error.

    Sometimes such issues also happen when you minify JS files with a caching plugin.

    Cheers, Jory

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘New CPT, but navbar and search icon appear frozen!’ is closed to new replies.