- Posts: 259
- Thank you received: 22
Category Listing Layout
- rodfarrell
-
Topic Author
- Offline
Less
More
12 years 2 months ago #164918
by rodfarrell
Category Listing Layout was created by rodfarrell
This is more of a css question in relation to the category list view. I have set in my template css the category listing display to a height of 200px and 3 columns like so:
My problem is that the category names break after each word so that a three word category name is split on to 3 lines even though there is plenty of width on the page. See
www.worksceneworkwear.com.au/index.php/p...ry/54-corporate-wear
Is there a way to force the category name to stay on a single line?
Code:
width:100%;
-webkit-columns: 3;
-moz-columns: 3;
columns: 3;
height: 200px;
column-width: auto;
list-style-type:square;
Is there a way to force the category name to stay on a single line?
Please Log in or Create an account to join the conversation.
Less
More
- Posts: 12953
- Thank you received: 1778
12 years 2 months ago #164920
by Mohamed Thelji
Replied by Mohamed Thelji on topic Category Listing Layout
Hello,
Using some CSS code like this will probably do the job :
Using some CSS code like this will probably do the job :
Code:
li.hikashop_category_list_item a {
width: 102px;
}
Please Log in or Create an account to join the conversation.
- rodfarrell
-
Topic Author
- Offline
Less
More
- Posts: 259
- Thank you received: 22
12 years 2 months ago #165046
by rodfarrell
Replied by rodfarrell on topic Category Listing Layout
Thats perfect, thanks.
Please Log in or Create an account to join the conversation.
Time to create page: 0.155 seconds