WordPress.org

Ready to get started?Download WordPress

Forums

WordPress SEO by Yoast
WP SEO Toolbar tab IE7 bug? (4 posts)

  1. krogsgard
    Member
    Posted 2 years ago #

    Had a hard time nailing this down, but I *think* there is a bug in the way WP SEO adds its menu item in the toolbar.

    WP Version: 3.4
    WP SEO Version: 1.2.3

    I did this: In IE7, visited pages on the front end while logged in, with multiple themes (including twentyeleven), and WP SEO installed. While viewing pages, and the "edit page" menu item and the "SEO" menu item are both active on the page, the toolbar stretches to two lines like this screenshot: http://cl.ly/0M1O2P0a0w2P2k2g4500

    If I'm not on a page, and the "edit page" menu item isn't visible (archives, etc), the problem doesn't persist. http://cl.ly/1K3h0n1Q3i1j44303F3C

    I do not get this error with WP SEO deactivated, or with other plugins that add a menu item.

    Hope that helps,

    Brian

    http://wordpress.org/extend/plugins/wordpress-seo/

  2. MikevHoenselaar
    Member
    Posted 1 year ago #

    Yep, verified and we got the same thing.
    Hopefully Yoast is still loving IE7 :-)

  3. MikevHoenselaar
    Member
    Posted 1 year ago #

    I just made a fix :-).

    File: wpseo-non-ajax-functions.php
    line: 226
    change
    $wp_admin_bar->add_menu( array( 'id' => 'wpseo-menu', 'title' => .__( 'SEO', 'wordpress-seo' ) . $score, 'href' => $seo_url, ) );

    into
    $wp_admin_bar->add_menu( array( 'id' => 'wpseo-menu', 'title' => '<span class="wpseo_score_label">'.__( 'SEO', 'wordpress-seo' ) . '</span>'.$score, 'href' => $seo_url, ) );

    and change/add this to adminbar.css:
    Add
    .wpseo_score_label {
    float:left;
    }

    Edit:
    .wpseo_score_img {
    float:left;
    }
    // So float right to left

    That's it :-).
    Hopefully Yoast will use it to fix this IE7 issue :-).

  4. ksinc
    Member
    Posted 1 year ago #

    Thanks MikevHoenselaar. This solved my issue. I also found on IE9 that the little ball next to SEO was dropping down. This solved that issue as well. Thanks!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags