CSS/PHP Conundrum
-
Hey all,
As you’ve no doubt already guessed, I’ve got a delimma. I’m trying to turn the links in wordpress into a navbar, and it’s worked so far. However, I can’t figure out how to get rid of the title of the link category. So I’ve got a nice looking navbar, but above it and to the left is an annoying link titleâ€â€?doing absolutely nothing. I would tell the CSS to get rid of it, but I don’t know how.
Here’s the code that I have:
PHP:
<div id=”links”>
<?php get_links_list(); ?>
</div>CSS:
#links li {
display: inline;
list-style-type: none;
}
So I need some code to get the top level of the list so that I can call it in the CSS, and tell it to go away (i.e., ‘display: none’), but I don’t want it to not display the lower levels of the list.
Am I making any sense, here?
I could easily just make a custom list in the PHP, but I want the PHP get links function so that anyone can change/add another item to the navbar within the links menu in (which would be totally awesome).
Any thoughts? All I want is just to get rid of the title of the list.
Thanks,
�Andrew
The topic ‘CSS/PHP Conundrum’ is closed to new replies.