You mean the “space” between the LinkCatgeory name and the links?
– CSS.
I mean it’s just editing your stylesheet.
Thread Starter
Jon
(@ezkim0x)
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?
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
(@ezkim0x)
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>
Add the following to your CSS file
.boxSidebar ul h2 {
margin-bottom: 0;
margin-top: 10px;
}
Adjust the pixel values to your need