• Resolved tronjohnwp

    (@tronjohnwp)


    After upgrading from 4.2.1 to 4.4 My main menu show green dots with each entry and the menu is misaligned. I have screen shots in a file that displays the problem but I don’t see any way to upload a file.
    Wordpress 4.2.1 no parent set on non-home menu items
    Wordpress 4.4 no parent set on non-home menu items
    Wordpress 4.4 parent set to home on non-home menu items
    Wordpress 4.4 all plugins deactivated
    After WordPress 4.4.1 upgrade

    Things I tried:
    deactivated all plugins
    activated all plugins
    repeated the upgrade
    tried investigating emoji but could not yet figure out how to turn it off for testing.
    Upgraded to 4.4.1 problem still exist.

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter tronjohnwp

    (@tronjohnwp)

    The following link will display the issue

    https://virtatron.com/wordpress-4-4-1-error/

    That looks like there’s been sone CSS changes. That would explain why there’s the dots there (menus are held as list items so get leading dots by default), and most likely the spacing as well.

    What theme are you using? I couldn’t tell much at all from that screenshot.

    Thread Starter tronjohnwp

    (@tronjohnwp)

    Thanks for jumping in.
    I am using the small biz them by expand2wed.

    I’ll check your suggested link from the email

    Thread Starter tronjohnwp

    (@tronjohnwp)

    After investigation I found the following. I verified catacaustic’s observation that it was list related. I duplicated the problem by creating a creating tow type of list using
    <li></li>
    and

    <ul>
    <li></li>
    <li></li>
    </ul>

    .
    Upon comparing the web source code generated at run time by 4.1 and 4.4.1 (I mistakenly submitted 4.2.1 as the version I ungraded from) I saw the following:

    In WP 4.1 source code

    '<div class="menu">
    <ul><li class="page_item page-item-5 current_page_item">'

    In WP 4.4.1
    '<div class="menu"><li class="page_item page-item-5 current_page_item">'

    As you can see WP 4.1 uses an unstructured list while 4.4.1 does not.

    I do not know if this was a bug or intentional and I don’t know where in the code this happens. I am not a developer and will need some input from perhaps one of the WordPress developers.

    What file did you find that difference in?

    And just in case… to post code in the forums here you need to click on the code button above, or you end up getting messed up code – like yours above, that’s unreadable and doesn’t help with the problem.

    Thread Starter tronjohnwp

    (@tronjohnwp)

    The 4.1 code should look like this don’t know what happened to the ul in the previous post.

    In WP 4.1 source code

    <div class=”menu”>

      <li class=”page_item page-item-5 current_page_item”>Home

    Thread Starter tronjohnwp

    (@tronjohnwp)

    In WP 4.1 source code

    <div class="menu"><ul><li class="page_item page-item-5 current_page_item"><a href=“https://virtatron.com/">Home</a></li>
    In Wp 4.4.1

    <div class=”menu”><li class=”page_item page-item-5 current_page_item”>Home

    The above was in the source when viewing the two versions of the website. I have not located the file this is in.

    Sorry for the bad code post. I am new and learning. Thought I had put in the back tick.

    That’s the pages source code. Not the WordPress source code.

    I highly doubt that it’s something that WordPress has done – mainly because the HTML code and the styling is almost always part of the theme. In your case it looks like like something has changed in the theme and has thrown out your site. I’d advise you to look through the header.php file of your theme to see what is in there as that should be where the code is coming from.

    Thread Starter tronjohnwp

    (@tronjohnwp)

    I mentioned the source when viewing each website.

    There was no updates for the theme in either the 4.4 or 4.4.1 wp upgrade. I looked at the dates of the files and they all see old. I am going to compare the them files for before and after the upgrade to see if something change in the background.
    My intention was always to check with the theme creator to get their take on this.

    Thread Starter tronjohnwp

    (@tronjohnwp)

    The theme developers provided me with some information and a procedure to try. I will update this post when that task is completed.

    Thread Starter tronjohnwp

    (@tronjohnwp)

    Josh at the theme development company Expand2Web stated “The latest version of WordPress requires you to use the WordPress Menu builder. Using the old way of setting the menu structure no longer works.”

    I played with it briefly and it will work.

    This issue is resolved

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Menu Item issues’ is closed to new replies.