• i’m getting a weird error in my wordpress website my main menu is appearing for 1 second and then it disappears all of the sudden. please see below what i already have tried.
    1: disable all the plugins and then check.
    2: Creating a new menu
    3: changing browser and checking
    4: changing the theme and then changing back to main theme.

    after doing above all 4 point my problem is still there please anyone can help me? thanks in advance.
    my website link is: poetryfromthelordsdiary(.)com

    please remove brackets

Viewing 3 replies - 1 through 3 (of 3 total)
  • I could see this 1 line of code injected at the very last line before closing </body> tag.

    <style>.flex-col{display:none !important;}</style>}

    Yes, it includes the } at the end which is super weird but it indicates it’s a user put in probably from a plugin that allows putting in scripts and styles?

    So please find out which plugin or function is doing that, then remove it.

    Thread Starter vampzzz

    (@vampzzz)

    hi thanks for your reply i do have a plugin for adding custom css but the problem is when i deactivated the plugin and tried again it still gives that error

    First of all, please do make sure that the plugin is responsible for that one line of code. With plugin activated, do you see that one line of code in the plugin setting?

    The other concern is that uninstalling a plugin might not remove input kept in database, with plugin activated go to plugin setting and empty the input and then save that empty input.

    The point is we need to figure out what plugin or function is outputing that one line of code, and then remove it.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Menu disappearing’ is closed to new replies.