Home › Forums › Support › Woocommerce product name/price aligment This topic has 9 replies, 2 voices, and was last updated 4 years, 2 months ago by David. Viewing 10 posts - 1 through 10 (of 10 total) Author Posts January 22, 2020 at 11:53 am #1140657 Marin Hi, could you please help me with issue regarding keeping all product names and prices in the same line? Picture to clear out my issue: https://ibb.co/yQrbjYR Thanks January 22, 2020 at 3:46 pm #1140788 DavidStaff Customer Support Hi there try adding this CSS: .woocommerce ul.products li.product .woocommerce-LoopProduct-link { display: flex; flex-direction: column; height: 100%; margin-bottom: unset; } .woocommerce ul.products li.product .woocommerce-loop-product__title { margin-top: auto !important; } January 22, 2020 at 11:39 pm #1141005 Marin It does not work unfortunatelly π Problem could be the fact that product images are not all the same. What do you think? I have used this code in functions.php to have product photos contained into 300x200px add_filter('woocommerce_get_image_size_thumbnail','add_thumbnail_size',1,10); function add_thumbnail_size($size){ $size['width'] = 300; $size['height'] = 200; $size['crop'] = 0; //0 - full, 1 - crop return $size; } January 23, 2020 at 3:48 am #1141212 DavidStaff Customer Support Where did you add the CSS? I cannot see it on the site. Can you add it back in and let me know where. January 23, 2020 at 3:56 am #1141217 Marin Ah, ok…now I add it back… January 23, 2020 at 4:38 am #1141257 DavidStaff Customer Support Made a slight change to the CSS here January 23, 2020 at 4:57 am #1141271 Marin Thanks for your fantastic support!! It is getting better definitely π we have one thing to fix and we’re done here…hope you could help here too: https://ibb.co/jDGTRNj Can we center product images? uncropped… January 23, 2020 at 5:02 am #1141277 DavidStaff Customer Support Add this CSS: .woocommerce ul.products li.product .wc-product-image { margin: auto; } January 23, 2020 at 5:06 am #1141279 Marin Solved!! π THANKS!! January 23, 2020 at 5:07 am #1141280 DavidStaff Customer Support You’re welcome Author Posts Viewing 10 posts - 1 through 10 (of 10 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In