Post by Uffee » Tue Apr 17, 2012 8:37 pm

How can I do, so I have the text "add to wishlist" so it comes in one line and not two?
wishlist.jpg

wishlist.jpg (24.44 KiB) Viewed 219 times

Opencart 1.5.2.1

:D

Newbie

Posts

Joined
Tue Apr 17, 2012 4:53 pm

Post by Avvici » Thu Apr 19, 2012 2:53 pm

In your CSS file you will find this line:

Code: Select all

.product-list .wishlist, .product-list .compare {
	margin-bottom: 3px;
}
Make it like this:

Code: Select all

.product-list .wishlist, .product-list .compare {
	margin-bottom: 3px;
	position:relative;
	width:117px;
}
This will only work for the current text you have. Any longer and it would start to cause encroachment problems between each product block. You can also just adjust the font size as well which will help a lot. In fact, I would just mess with the font size first before you do anything else. Maybe try a 10px Arial or Verdana.

Code: Select all

.product-list .wishlist, .product-list .compare {
	margin-bottom: 3px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	
}

User avatar
Expert Member

Posts

Joined
Tue Apr 05, 2011 12:09 pm
Location - Asheville, NC

Post by Uffee » Thu Apr 26, 2012 5:23 pm

avvici wrote:In your CSS file you will find this line:

Code: Select all

.product-list .wishlist, .product-list .compare {
	margin-bottom: 3px;
}
Make it like this:

Code: Select all

.product-list .wishlist, .product-list .compare {
	margin-bottom: 3px;
	position:relative;
	width:117px;
}
This will only work for the current text you have. Any longer and it would start to cause encroachment problems between each product block. You can also just adjust the font size as well which will help a lot. In fact, I would just mess with the font size first before you do anything else. Maybe try a 10px Arial or Verdana.

Code: Select all

.product-list .wishlist, .product-list .compare {
	margin-bottom: 3px;
	font-family:Arial, Helvetica, sans-serif;
	font-size:10px;
	
}

nice thank you :)

Newbie

Posts

Joined
Tue Apr 17, 2012 4:53 pm
Who is online

Users browsing this forum: No registered users and 16 guests