Jump to content

Help to columns in product list


Recommended Posts

you have to change float:left to float:right; in:

#product_list li .right_block {
position: relative;
float: left;
width: 145px;
text-align: right;
}

it's a part of product_list.css file line 95

 

That moved my "add to basket" to the right, screenshot

But is it possible for me to have two products in each column ? I have to change something about the product width but i dont know where ? 

Edited by badmintongrej (see edit history)
Link to comment
Share on other sites

it was my mistake, i just thought that you want to move it :/

sorry,

 

unfortunately, if you want to display 2 products per row - there will be not enough space to do it in this way,

take a look:

HQo1xp5.png

 

 

it's necessary to rebuild it a bit

but i don't know what you exactly expect

Link to comment
Share on other sites

it was my mistake, i just thought that you want to move it :/

sorry,

 

unfortunately, if you want to display 2 products per row - there will be not enough space to do it in this way,

take a look:

HQo1xp5.png

 

 

it's necessary to rebuild it a bit

but i don't know what you exactly expect

 

Just as it looks in the picture above, that looks really cool :)

Link to comment
Share on other sites

really? if so, you have to change only width of li object, for example instead of:

#product_list li {
margin-bottom: 14px;
padding: 12px 8px;
border: 1px solid #eee;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
} 

use just:

#product_list li {
margin-bottom: 14px;
padding: 12px 8px;
border: 1px solid #eee;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
width: 350px;
display: inline-block;
}
3-music-ipodsmed

it's a part of: /themes/default/css/product_list.css file (if you use default theme)

Link to comment
Share on other sites

really? if so, you have to change only width of li object, for example instead of:

#product_list li {
margin-bottom: 14px;
padding: 12px 8px;
border: 1px solid #eee;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
} 

use just:

#product_list li {
margin-bottom: 14px;
padding: 12px 8px;
border: 1px solid #eee;
-moz-border-radius: 3px;
-webkit-border-radius: 3px;
border-radius: 3px;
width: 350px;
display: inline-block;
}
3-music-ipodsmed

it's a part of: /themes/default/css/product_list.css file (if you use default theme)

 

I changed that, but it is still one product per column (http://gyazo.com/9e6465e32c079e42fffb329b544d39ee)

 

Do i just have to make the width smaller?

Edited by badmintongrej (see edit history)
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...