Title: Link Category CSS issue
Last modified: August 18, 2016

---

# Link Category CSS issue

 *  [papadoc](https://wordpress.org/support/users/papadoc/)
 * (@papadoc)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/link-category-css-issue/)
 * Hi, all.
 * I’m having a problem with the way the Link categories are displaying on my website(
   www.nixsight.net).
 * Because I didn’t know how to build a theme, I took “Connections” (which had similar
   functions to the ones I needed) and rewrote the CSS and some of the templates(
   my first foray into PHP!).
 * Connections places all of the links under one heading, so I looked at other themes
   to see which ones displayed the links under their category headings, worked out
   which code “grabbed” the info, and put it in my sidebar.
 * The problem is (as you can see from the page), the formatting of the link categories(“
   Creatives and Such” and “Other Internets”) is displaying differently from my 
   other sidebar items. The items have adopted the CSS for list headings to an extent,
   but with a weird indent or justification.
 * I’d like the sidebar to look seamless, but I don’t know if this is an issue with
   my CSS or my PHP… and I know it’s probably something really simple! Does anyone
   have any ideas?

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

 *  [phonekitten](https://wordpress.org/support/users/phonekitten/)
 * (@phonekitten)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/link-category-css-issue/#post-334407)
 * Couldn’t you just make another link category?
    Or will Connections not let you
   do that?
 *  Thread Starter [papadoc](https://wordpress.org/support/users/papadoc/)
 * (@papadoc)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/link-category-css-issue/#post-334416)
 * “Couldn’t you just make another link category?
    Or will Connections not let you
   do that?”
 * Sorry, I’ve probably confused things by giving too much history… Connections 
   is just the theme I used to work out how WordPress themes are formatted… I mentioned
   it to illustrate the background of the problem.
 * I think the problem is related to the php:
    `<?php get_links_list(); ?>`
 * Not understanding PHP properly, I really don’t know how this works, but it’s 
   clearly pulling in some CSS definitions with the data that don’t fit with my 
   stylesheet. The CSS that was in there previously:
    `<h2><?php _e('Links'); ?>
   </h2> <ul><?php get_links('-1', '<li>', '</li>', ' '); ?></ul>
 * … kept the CSS styles I was using for the rest of the sidebar, but had all the
   links in one section, which wasn’t what I wanted.
 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/link-category-css-issue/#post-334420)
 * I looked at your site and was really confused until I looked at in it IE. In 
   FF it looks just fine.
 * And in looked at what you had and what you changed it it, I suggest you read 
   over carefully the following:
    [http://codex.wordpress.org/Template_Tags/get_links](http://codex.wordpress.org/Template_Tags/get_links)
   [http://codex.wordpress.org/Template_Tags/get_links_list](http://codex.wordpress.org/Template_Tags/get_links_list)
 * The part you changed wasn’t really PHP, it was a wp links tag and the bits after
   it were conditions for the tag to display a certain way.
 * Hopefully the codex links will narrow it down, but I’m guessing you’ll need to
   do some futzing around with padding in the CSS to make IE happy. :-/
 *  Thread Starter [papadoc](https://wordpress.org/support/users/papadoc/)
 * (@papadoc)
 * [20 years, 4 months ago](https://wordpress.org/support/topic/link-category-css-issue/#post-334694)
 * Hmm. How peculiar.
 * I see what you mean… for some reason, Firefox perfectly parses my css the way
   I want it to, but IE doesn’t. Bizarrely, Firefox also drops some of the text 
   styles I set within the main post/header.
 * I’m still really struggling to get the darn thing to work… does anyone else have
   any ideas what might be causing the problem? Maybe someone with some knowledge
   as to how Firefox and IE parse pages…

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

The topic ‘Link Category CSS issue’ is closed to new replies.

 * 4 replies
 * 3 participants
 * Last reply from: [papadoc](https://wordpress.org/support/users/papadoc/)
 * Last activity: [20 years, 4 months ago](https://wordpress.org/support/topic/link-category-css-issue/#post-334694)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
