To keep the parent <li> highlighted when a child is hovered over;
Code:
#menu ul li:hover > a {
background:red;
}
Although, as John already said, you must make sure that a standards invoking doctype appears as the first thing in your markup. Your page currently looks like this;
Code:
<html>
<!-- http://napcomputersolutions.co.uk/ -->
<!DOCTYPE html>
<html lang="en-US">
<head>
But is should just look like this;
Code:
<!DOCTYPE html>
<html lang="en-US">
<head>
I've tested my CSS above and it will not work until you fix the doctype as indicated.
As for the broken images in the footer - the stylesheet is only showing this;
Code:
.footer h5:after { content: url(); }
So I would guess that the images paths are probably being generated dynamically in a php file somewhere - I cant say where exactly because that's the nature of a dynamic file. You could try doing some more detective work in your template files (or ask at the Wordpress forums) to locate what/where they are and then replace them with a blank gif/png or a jpeg that matches the background colour. Or can you delete the code that is generating the CSS block from the stylesheet (if that's what is happening)? If you can't remove that block from the stylesheet completely, how about editing the HTML to change the heading tags in the footer from <h5> to <h6> maybe, and then apply some styles to match them to the way they currently look? Its a bit of a workaround/cheat, but if the tags aren't there in the markup, the CSS (dynamically generated or otherwise) can't be applied to them.
Bookmarks