I have a free plus blog: www.pure-havoc.com
I'm having a lot of really frustrating trouble trying to find a way to delete only certain header links. I've figured out how to hide all of the header links, but not just certain ones. I'd like to delete the archive link (because it's not updating properly for some reason) and the friends link and leave
(
Read more... )
Comments 5
Add more +li to target the third, second, etc link. You should be able to use :first-child and last-child as well.
Reply
Also I inserted the tag, and it is still not working: http://www.pure-havoc.com/
Here it is:
/* -------------------------------------- HEADER -------------------------------------- */
ul.navheader li+li { display: none; }
#header { background: #464646; margin: 10px 0 0 0; padding: 0;}
#header ul {margin: 0; padding: 0; text-align: center; padding: 10px; text-transform: uppercase; font-size: 9px; background: #464646; border-top: 10px solid #464646; }
#header li {display: inline; padding: 10px 0 10px 0; margin: 0; }
#header li a {padding: 0 10px 0 10px; border: 0; color: #dddddd;}
#header li a:hover {color: #ffffff;}
#header li:hover {background: #3b8686;}
#header li.view {color: #ffffff; background: #3b8686; padding: 10px;}
.title, .subtitle {display: none;}
Reply
Use #header li+li AFTER any other blocks which assign display property to #header li. #header li:first-child targets the first li, if you want it.
Reply
Reply
Leave a comment