-
AuthorPosts
-
gringo211985 Friend
gringo211985
- Join date:
- May 2012
- Posts:
- 678
- Downloads:
- 197
- Uploads:
- 121
- Thanks:
- 77
- Thanked:
- 123 times in 27 posts
May 27, 2014 at 9:08 am #198191Hi there,
I have some products with the title on 1 line on some products with the title spread on 2 lines see pic below,
I would like to add an additional line to the products with a 1 line title so that all the products are the same height. How would I go about doing this?
Thanks in advance 🙂
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 27, 2014 at 4:07 pm #536848Try modifying the following CSS rule – within your custom.css file – as follows . . .
.box-product > div {
border: 1px solid #EEEEEE
display: inline-block;
height: 350px;
margin-bottom: 20px;
margin-right: 5px;
padding: 15px;
vertical-align: top;
width: 32%;
}gringo211985 Friendgringo211985
- Join date:
- May 2012
- Posts:
- 678
- Downloads:
- 197
- Uploads:
- 121
- Thanks:
- 77
- Thanked:
- 123 times in 27 posts
May 27, 2014 at 7:07 pm #536870Hi Tom,
Found the solution, added this to my custom.css
.box-product .name a {
text-decoration: none;
display: block;
margin-bottom: 4px;
font-weight: 100;
line-height: 24px;
height: 50px;
}The height setting has created the extra line under the short product titles and now all of the cart buttons are aligned properly. Thanks for the help, see screenshot for finished result 🙂
TomC ModeratorTomC
- Join date:
- October 2014
- Posts:
- 14077
- Downloads:
- 58
- Uploads:
- 137
- Thanks:
- 948
- Thanked:
- 3155 times in 2495 posts
May 27, 2014 at 7:11 pm #536873Yep, that’s another way to go about it. 🙂
All the best with your continuing site development !!!
AuthorPostsViewing 4 posts - 1 through 4 (of 4 total)This topic contains 4 replies, has 2 voices, and was last updated by TomC 10 years, 5 months ago.
We moved to new unified forum. Please post all new support queries in our New Forum
Jump to forum