Title: CSS/PHP Conundrum
Last modified: August 18, 2016

---

# CSS/PHP Conundrum

 *  [Andrew](https://wordpress.org/support/users/andrew/)
 * (@andrew)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/cssphp-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

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [elrol](https://wordpress.org/support/users/elrol/)
 * (@elrol)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/cssphp-conundrum/#post-131815)
 * there is a file in the wp-includes directory called links.php and I’m sure you
   could find the bit of code that calls the category titles
 * –or–
 * if you just want to remove the word “LINKS”
 * you can go into your sidebar area and delete :
 * `<h2>Links:</h2>`
 * or
 *  `<h2><?php _e('Links'); ?></h2>`
 * hope that helps you out
 *  Thread Starter [Andrew](https://wordpress.org/support/users/andrew/)
 * (@andrew)
 * [21 years, 2 months ago](https://wordpress.org/support/topic/cssphp-conundrum/#post-131822)
 * Thanks!
    I found the file you mentioned, and found the line I needed to delete.
   I would never have guessed, except for a handy little comment some bright programmer
   put above it. Problem solved.
 * Thank you very much!
 * â€?Andrew

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘CSS/PHP Conundrum’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 2 replies
 * 2 participants
 * Last reply from: [Andrew](https://wordpress.org/support/users/andrew/)
 * Last activity: [21 years, 2 months ago](https://wordpress.org/support/topic/cssphp-conundrum/#post-131822)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
