Help - Search - Members - Calendar
Full Version: How to increase sub category table/box?
CubeCart Forums > CubeCart Version 3 > Installation & Upgrade Help (Version 3)
stevengw
My sub categories are not displaying correctly when i use photos instead of the stock file image.

ie if i have more than 4 sub categories with picture, within a top category, the images get all crushed together.


so my question is. how or where do i increase the size of the sub cat table? or how can i make it so that the tumbnails or dsiplay in the same size.

regards

steven
ansuk
Hi Steven, try adding a height value to subcats in layout.css.
stevengw
cheers ansuk..That increased the table size, but the pictures are still all crushed together. ie. the 2nd line of pics is on top of the first line.

regards

steven
ansuk
There are two subcats in layout.css. Once is for the width and height of the table, the other is for the individual subcats. Try adding a height value to:
QUOTE
.subCat {
text-align: center;
padding: 8px;
float: left;
width: 110px;
}

and remove the height value for
QUOTE
#subCats {
background-color: #EBEDFE;
text-align: center;
border: 1px solid #C9CEFC;
margin: 0px;
padding: 3px;
float: left;
width: 387px;
stevengw
Cheers Ansuk, that did the trick..

Thankyou once again for your help & words of wisdom.

Im kicking myself for not looking in CSS file first.. Nevermind.. all is now well.

Cheers & Beers Ansuk
ansuk
Welcome smile.gif
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.