• Resolved arutha176

    (@arutha176)


    Hi Andrew, Hi Alex!

    I got a very weird problem in both pages: the menu doesn’t show in the horizontal normal way any more.
    I don’t know when the problem started because these are special pages that I don’t look at often. I’m asking you first because these pages are built with page builder, the menus are specific to each page, and the problem doesn’t exist on the homepage or other pages that have the primary menu in them, but I’m aware that it can come from other sources or the theme.
    The site is not updated to wordpress 5.7, but in my local test site (not updated as well) there is no problem with the menus.
    I activated the diagnostic thing (health check? my page is in portuguese and the names are not literal translations) and the problem persists in diagnostic mode.

    Well, I don’t know where to go from here. I’m quite lost, in fact… It is not terribly important, but it is ugly! Can you help?

    best regards

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

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Support Andrew Misplon

    (@misplon)

    Hi Arutha

    Thanks for reaching out.

    If you open the console you’ll see a theme-related JavaScript error. https://www.ads-software.com/support/article/using-your-browser-to-diagnose-javascript-errors/#step-3-diagnosis. You could perhaps try a plugin conflict test to see if you can find the cause. Temporarily deactivate all plugins not authored by SiteOrigin and see if the issue resolves.

    Thread Starter arutha176

    (@arutha176)

    Plugin Support Andrew Misplon

    (@misplon)

    Thanks for checking. Hopefully, the theme author can help resolve the error.

    Thread Starter arutha176

    (@arutha176)

    Hi Andrew!
    It’s very strange to have two open topics at the same time (lol). But as they are about different things, I believe it’s the right way.
    Well, I asked the theme author and he didn’t give me a workable solution, he suggested not hiding the main header of the site. I don’t want to have two headers! So we are talking yet.
    BUT, as it happens, the java error doesn’t look to be related with the menus. Because the java error is present on my local staging site, but there the menus are ok, horizontal.
    Can it be a PHP problem? My live site is on PHP 7.4.16 and my staging one is on PHP 7.3.5.
    I used the Health Check & Troubleshooting to deactivate themes and plugins on the live site. With only pagebuilder active the menus are always in a vertical list, with my theme and with twenty-twenty.
    It’s a mystery!

    Plugin Support Andrew Misplon

    (@misplon)

    Hi Arutha

    > Can it be a PHP problem? My live site is on PHP 7.4.16 and my staging one is on PHP 7.3.5.

    It’s unlikely PHP versions are involved in something like this. You can switch PHP versions using your localhost server to check.

    Do you know where the menu styling is meant to be originating from? You can inspect the menu (Right click > Inspect element) in your localhost version to check where the styles are being loaded from.

    Thread Starter arutha176

    (@arutha176)

    Hi Andrew!

    Ok, inspect element says style.min.css. (I’m in firefox). I just created a new menu on Appearance>>Menus, then went to the page and added a menu widget there. It worked perfectly for a long time (the second page was created more than a year ago), and I don’t know when it started to misbehave.
    Anyway, the main menu of the site says class “primary-menu-ul menu nav-menu”
    and in this page it is class “menu” only

    I’m not sure if it is the pandemic or the lack of sleep, but it is becoming more and more disheartening. Because now the inspect element shows element overflow on body and on some lines.
    I’m afraid I did something horrible at some time without noticing. Maybe I should go back and examine everything.
    Or maybe I should get some sleep first. Things can’t be so awful!
    thanks for the patience!

    Plugin Support Andrew Misplon

    (@misplon)

    Thanks for the update ??

    You’d need to check the file path of the stylesheet. If it’s a theme stylesheet, please, reach out to theme support, they can let you know why styling isn’t applied to the widget.

    The class differences between the main menu and the menu widget output are expected.

    I’m not sure about overflow, that can be a single element causing that perhaps.

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Problem with menus’ is closed to new replies.