View Full Version : how do I adjust the height of each category
jennypretty
12-26-2007, 06:45 PM
Hello,
The height of each row for categories are high. how do I adjust the height of each category?
Thanks.
Vladimir T.
12-27-2007, 07:27 AM
Please see the following "css class" in the file \templates\YOUR_TEMPLATE\css\style.css:
1)div.categories div.col
2)div.categories div.last
jennypretty
12-27-2007, 12:56 PM
I tried to change these:
div.categories div.col
{
float: left;
text-align: left;
width: 170px;
padding-left: 25px;
background: url('../img/ico-dir.gif') top left no-repeat;
margin: 10px 0;
}
div.categories div.last
{
float: left;
text-align: left;
width: 170px;
padding-left: 25px;
background: url('../img/ico-dir.gif') top left no-repeat;
margin: 10px 0;
by playing around, changing numbers, but it does not work.
What I like is to have a shorter space between each row in each category. Right now, there is a high space there.
Please look here: http://www.shopebaystore.com
You 'll see the high space between each row in each category.
Thanks.
Hi Jenny
If you change this part:
margin: 10px 0;
Just lessen the 10px to a smaller number.
Such as:
div.categories div.col
{
float: left;
text-align: left;
width: 170px;
padding-left: 25px;
background: url('../img/ico-dir.gif') top left no-repeat;
margin: 4px 0;
}
div.categories div.last
{
float: left;
text-align: left;
width: 170px;
padding-left: 25px;
background: url('../img/ico-dir.gif') top left no-repeat;
margin: 4px 0;
}
jennypretty
12-27-2007, 05:54 PM
It worked perfectly.
Thanks.
vBulletin® v3.7.0, Copyright ©2000-2013, Jelsoft Enterprises Ltd.