Ask your WordPress questions! Pay money and get answers fast! (more info)

Button alignment problem WordPress

  • SOLVED

Hi,
The 'add to cart' buttons on my website are not vertically aligned due to product titles being different lengths.

cpc stes tanswers.co .uk

Is there a way to vertically align these buttons to a fixed position.

The maximum a product title will ever be is three lines of text.

Thanks

Jon

Answers (3)

2014-12-27

zebra webdesigns answers:

Hello Jack

are you proficient in coding if so I can suggest the solution.
if not I can adjust it for you.
you can ping me in Skype: bhuvan530531
or mail me at [email protected]


zebra webdesigns comments:

Hello Jack the following code can make the add to cart to be in same line
I have attached the screenshot.

Also I hide the star rating to make it easier. However user can see the rating inside the products.

body.home li.product h3 {
min-height: 50px;
font-size:14px !important;
}

body.home .star-rating {
display: none !important;
}


you need to place the code in your child theme style.css file