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?

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.

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)

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.