Page 1 of 1

Uneven distribution

Posted: Mon Mar 11, 2013 7:28 pm
by nardus
Right now the "Føj til kurv"-button is jumping up and down in grid view depending on the length of the product name. Is it possible to change the grid view to look like the attached image and how? Can it be done through CSS? (the image is taken from http://hairandskincare.dk/somersets/somerset-35ml where the lines are jumping up and down).
should_be.jpg

should_be.jpg (60.66 KiB) Viewed 730 times


Re: Uneven distribution

Posted: Mon Mar 11, 2013 9:38 pm
by zuhenry
Hello,

Playing a little bit with CSS could help you, for example:
The <div> that holds the name of the product is: class=name.
So, knowing this we could just make this box taller by adding this line in your style.css file:
.name { height: 30px; }
As I said play with the CSS so that you can optimize it according to the layout of your website.

zh

Re: Uneven distribution

Posted: Mon Mar 11, 2013 10:13 pm
by nardus
Thank you so much. So simple but so effectfull.