Spacing between categories
Spacing between categories
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?
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
Re: Spacing between categories
Hi!
You can do that via CSS, yes.
(set the appropriate margins of top/bottom or what you need, of course )
HTH,Garvin
You can do that via CSS, yes.
Code: Select all
div.category_link_all {
margin: 50px;
}
HTH,Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
-
- Core Developer
- Posts: 30022
- Joined: Tue Sep 16, 2003 9:45 pm
- Location: Cologne, Germany
- Contact:
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
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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/