Support » Fixing WordPress » Can’t get rid of trailing space (nbsp) after page title in access menu

  • Resolved eschickel

    (@eschickel)


    Here is the site I’m working on: http://www.ne-ygn.org

    You’ll notice there’s a trailing space (nbsp) after “EVENTS” in the menu bar. I can’t figure out where it’s coming from!

    I’m using the “Events Manager” plugin, but added the Events page manually – so I don’t think it’s being caused by the plugin.

    – The page title in the “Pages” settings does not have it.
    – The page title in the “Events Manager” settings does not have it.
    – I’ve gone through the database and can’t find it anywhere.

    Any insight would be greatly appreciated!

    Thanks,
    Evan

Viewing 4 replies - 1 through 4 (of 4 total)
  • If it’s not in the page’s title(which it does appear to be) as you’ve outlined above.. then i’d look at the code that generates the menu(most likely in header.php at a guess).

    The source code certainly suggests the space is in the title…

    Try this..

    Remove the title, all of it, put in something random, save, check the page for the extra space(gone?), now go back and put the original title back in(but type it in manually), save, reload the page.

    Figured it out! It WAS the plugin. There’s a function that overwrites the page title with the title specified in the plugin settings – which adds the NBSP. All set now.

    Thanks!

    I have the same problem. Where did you find the problem and how did you fix it?

    Im at carthagerunners.org

    I’m using the “Events Manager” plugin

    Figured it out! It WAS the plugin.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Can’t get rid of trailing space (nbsp) after page title in access menu’ is closed to new replies.