Jump to content

Random text in menu - missing bracket in CSS?


edm73

Recommended Posts

This is a WordPress site, still very much in development, but when I updated WP version recently, the menu sprouted some random text - class="">

 

You can see it here:

http://mercury.nethostcomputer.com/~eufc/z2012

 

Looking at the source code, there is clearly a missing opening bracket "<" somewhere... just I don't know where (I'm assuming somewhere in the CSS?)!

 

Anybody got any ideas where to solve this?

Link to comment
Share on other sites

You have it twice in the HTML.

Line 112

<ul id="nav"><li class="home"><a href="http://ebbsfleetunited.co.uk/z2012" rel="nofollow"><img src="http://ebbsfleetunited.co.uk/z2012/wp-content/themes/fleetred/images/men_icon_home.png" width="16" height="14" alt="" /></a></li>class=""><li id="menu-item-1860" class="menu-item menu-item-type-taxonomy menu-item-object-category menu-item-1860"><a href="http://ebbsfleetunited.co.uk/z2012/?cat=7">THE CLUB</a></li>

 

 

Line 765

<ul id="footnav"><li class="home"><a href="http://ebbsfleetunited.co.uk/z2012" rel="nofollow"><img src="http://ebbsfleetunited.co.uk/z2012/wp-content/themes/fleetred/images/men_icon_home.png" width="16" height="14" alt="" /></a></li>class=""><li class="cleaner"> </li></ul>

 

Find

class="">

and delete it in both lines.

Link to comment
Share on other sites

Thanks sunfighter... trouble is with Wordpress there is no HTML file as such (as far as I know). I think it's pulling in this from various PHP pages and CSS and I don't know where to look for the place this error is being thrown up.

Link to comment
Share on other sites

well css is not adding this. Since this is mark-up (css sets style to mark up nothing more)

 

You might want to have a look in to the component that produces the menu. (so that is a php file)

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.