• Stephan

    (@slange5)


    Hello everybody,

    on my WP-Blog https://www.mitdenkend.de is a strange HTML Code in the menu:

    <span class=”tp4…

    Can everyone tell me, how I can delete this element?

    Thanks
    Stephan

Viewing 7 replies - 1 through 7 (of 7 total)
  • emranemranx

    (@emranemranx)

    Hi there,

    Thanks for writing in!

    Please add the following code under your Appearance > Theme Options > Custom CSS:

    .primary-menu select {
        display: none;
    }

    Hope this helps.

    Thank you!

    Thread Starter Stephan

    (@slange5)

    Thanks, it works! ??

    But now, there is a new problem: Now, there is no menu, when I visit my website via tablet oder smartphone.

    Any idea?

    Thanks again
    Stephan

    emranemranx

    (@emranemranx)

    Hi There,

    Glad that helped!

    Please make sure that you’ve defined the menu from under Appearance > Menus. Meanwhile, I’d recommend testing for a plugin conflict by deactivating all the third party plugins in your site, and seeing if the problem remains. If it’s fixed, you’ll know a plugin caused the problem, and you can specify which one by reactivating them one at a time.

    Thank you!

    Thread Starter Stephan

    (@slange5)

    Hi,

    sorry, doesnt work ??

    Is there a possibilty to say: Show this HTML menu on tablet, but NOT on desktop mode?

    Thanks
    Stephan

    emranemranx

    (@emranemranx)

    Hi there,

    Is there a possibilty to say: Show this HTML menu on tablet, but NOT on desktop mode?

    Please replace the previous provided code with the following:

    @media only screen and (min-width: 991px) {
        .primary-menu select {
            display: none;
        }
    }

    Thank you!

    Thread Starter Stephan

    (@slange5)

    Ah great!!! Thanks ??

    Now just one question: As you can see on tablet-mode, the menu has the name

    “<span class=t4p…span>

    Is it possible, to change the name of these phrase just in “menu”?

    Thanks a lot! ??

    Denzel Chia

    (@denzel_chia)

    Hi,

    You have a plugin or script that is causing javascript conflict with your theme on your website, resulting in multiple script errors.
    Please see screenshot. https://i.imgur.com/6KsYoot.png

    If there is no errors, you would not see these strange HTML codes in your menu. Those codes are actually part of your mobile menu, which should only be visible in mobile devices.

    Use a mobile device to look at the pro version’s demo site.
    https://demo.theme4press.com/evolve/
    Although it’s pro version but it has the same menu codes. There is no such strange HTML codes.

    Purge your wp super cache and temporary disable it, then proceed to disable one plugin at a time to find the plugin that’s causing this conflict. If you have any custom script, remove it to see if your errors are fixed.

    If you do not eliminate this script errors, you will definitely have more strange issues later on.

    Covering this up using CSS codes is not going to really fix your issue.

    Thank you.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Theme: EvoLve] span class="tp4… in the menu :-(’ is closed to new replies.