CSS not working on a custom theme
-
I started a theme from scratch and my HTML is working but not CSS.
What I tried without success:
1. Linking HTML to CSS using<link rel="stylesheet" type="text/css" href="style.css"/>
in the head element
2. Entering CSS both in Appearance->Editor style.css file and in custom CSS.I am trying to create a header menu.
I entered the following code in HTML head element<ul> <li><a href="freelancers.asp">Freelancers</a></li> <li><a href="clients.asp">Clients</a></li> <li><a href="community.asp">Community</a></li> <li><a href="blog.asp">Blog</a></li> <li><a href="help.asp">Help</a></li> </ul>
I entered the following code in CSS
ul { list-style-type: none; margin: 0; padding: 0; background-color:#ea1414; } li { text-align: center; display: block; width: 60px; } li a:hover { background-color:#ea1414; } .active { background-color: #ea1414; }
Where am I messing up?
The page I need help with: [log in to see the link]
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘CSS not working on a custom theme’ is closed to new replies.