Title: formating functions
Last modified: August 18, 2016

---

# formating functions

 *  [Jon](https://wordpress.org/support/users/ezkim0x/)
 * (@ezkim0x)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/formating-functions/)
 * I’m wanting to change the format on some of the functions.. for instance..
 * get_links_list
 * I want to make it so the links show right under the category.. like.
 * Category
    – link 1 – link 2
 * Category 2
    – etc..
 * right now it’s showing like..
 * Category 1
 * – link 1
    – link 2 Category 2
 * – link 3
 * ..what file would I need to open to change the formating on this function?

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

 *  [moshu](https://wordpress.org/support/users/moshu/)
 * (@moshu)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/formating-functions/#post-312929)
 * You mean the “space” between the LinkCatgeory name and the links?
    – CSS. I mean
   it’s just editing your stylesheet.
 *  Thread Starter [Jon](https://wordpress.org/support/users/ezkim0x/)
 * (@ezkim0x)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/formating-functions/#post-313173)
 * Yes… so there’s not an extra “space” between the link category and the links..
   but there needs to be a space after the last link and onto the next category.
 * so I would edit the style.css in my current theme folder?
 * I’m not sure what to edit in there?
 *  [fekketcantenel](https://wordpress.org/support/users/fekketcantenel/)
 * (@fekketcantenel)
 * [20 years, 3 months ago](https://wordpress.org/support/topic/formating-functions/#post-313253)
 * After some screwing around (I’m very new to CSS) and some Googling, this is what
   I figured out:
 * Go to the admin area of Greymatter, then go to Presentation > Theme Editor > 
   Sidebar. Scroll down until you come to the Categories list. Now Look at this 
   line:
 * <h2>Categories</h2>
    <?php wp_list_cats(‘sort_column=name&hierarchical=0’); ?
   >
 * Yours will definitely look a little different, since I’ve been editing mine. 
   Look for the tag that comes immediately before and after Categories; in my case,
   it’s h2.
 * Now click Stylesheet. Scroll down until you find the h2 definition. In mine it
   looks like this:
 * h2 {
    font: 18pt Times New Roman; text-align: left; color: #ffffff; margin-bottom:-
   4px; }
 * Font’s, text-align’s, and color’s functions are self-evident; margin-bottom is
   the one you need to focus on. Add this line to your stylesheet if it’s not already
   there, and then hit Update File, and refresh your page. The item list will be
   higher now; adjust the number 4 to meet your requirements.
 * Let me know if this helps!
 * -Fekket
 *  Thread Starter [Jon](https://wordpress.org/support/users/ezkim0x/)
 * (@ezkim0x)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/formating-functions/#post-313297)
 * I still think I need to find the php function.. because the <?php get_links_list(‘
   id’); ?> calls both the link category and the name in the same function.. so 
   it wouldn’t matter if I changed any of the div’s there.
 *  <div class=”divTitle3″>Links</div>
    <div class=”boxSidebar”> <.ul> <?php get_links_list(‘
   id’); ?> <./ul> </div>
 *  [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * (@alphaoide)
 * [20 years, 2 months ago](https://wordpress.org/support/topic/formating-functions/#post-313300)
 * Add the following to your CSS file
 * `.boxSidebar ul h2 {
    margin-bottom: 0; margin-top: 10px; }
 * Adjust the pixel values to your need

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

The topic ‘formating functions’ is closed to new replies.

 * 5 replies
 * 4 participants
 * Last reply from: [Joshua Sigar](https://wordpress.org/support/users/alphaoide/)
 * Last activity: [20 years, 2 months ago](https://wordpress.org/support/topic/formating-functions/#post-313300)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
