Jump to content

Subcategory Spacing - Too Close Together


Recommended Posts

Hi Guys,

I've had a bit of a problem bugging me, where my subcategories are too close together.
The images were spaced but the text looked like all one word.

I came up with a bit of a css hack for global.css.
Simply add the following to your global.css:

#subcategories ul li {
   float:left;
   width: 25%;
   text-align: center;
} /* This adds a lovely bit of spacing & centering */

#subcategories ul.inline_list li img{ display:inline; } /* If you don't do this, then the image and text don't line up right */



This over-rides the default ul li class styles by using the subcategories container id "#subcategories".
If it's too spaced out, change the width to 20%.

I just thought I'd post this in case anybody else shared my experience.

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

Works great for me! Thanks!

Is there any way to add some spacing to the category listings between the rows?
The code above got them spread out nicely left to right, but they are still awfully bunched up up and down.

Thanks!

Wade

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...