Page 1 of 1
Spacing between categories
Posted: Wed Apr 04, 2007 5:27 pm
by DMotel
At the bottom of the list of categories is the last link: "All categories" is there a way to add some room between the last real category and "All categories" links?
Re: Spacing between categories
Posted: Wed Apr 04, 2007 5:34 pm
by garvinhicking
Hi!
You can do that via CSS, yes.
Code: Select all
div.category_link_all {
margin: 50px;
}
(set the appropriate margins of top/bottom or what you need, of course

)
HTH,Garvin
Posted: Thu Apr 05, 2007 10:24 pm
by DMotel
Before I do this just to clarify: I want the spacing to stay the same between all of the category links except for one: the second and the last one.
Posted: Thu Apr 05, 2007 10:27 pm
by garvinhicking
Hi!
The CSS code above only affects the margin of the "All categories" link of the default serendipity categories sidebar plugin, and nothing else.
If you are not using the default serendipity category plugin, or if you have modified it, or if you modified the plugin_category.tpl theme to not contain the <div class="category_link_all"> element, then this trick might not work for you.
To tell you if it would work, we would need the URL of your blog.
Best regards,
Garvin
Posted: Tue Apr 10, 2007 11:29 am
by garvinhicking
Hi!
Yes, on
http://www.bernsteinmedical.com/hairtransplantblog/ you do have the right .category_link_all code, so you are able to add the CSS I mentioned to your style.css to add the spacing.
Best regards,
Garvin
Posted: Mon Apr 16, 2007 7:41 pm
by DMotel
Beautiful. Thanks