Re: The "add to cart" button not on same level

Solved

The "add to cart" button not on same level

GavinZ
Tourist
15 0 1

our "add to cart" button are not on the same height due to some of our product's name are longer than others, what should we do to match the same level for every "add to cart" button? 

https://011ebd-2.myshopify.com

Password 123456

859ee08266e1566e9cef63217aba8c9.png

Accepted Solution (1)

Moeed
Shopify Partner
6719 1814 2198

This is an accepted solution.

Hey @GavinZ 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
.card-information {
    height: 95px !important;
}
}
</style>

RESULT:

Moeed_0-1709546145595.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


View solution in original post

Replies 5 (5)

Dan-From-Ryviu
Shopify Partner
10868 2143 2278

Hi @GavinZ 

I'm Dan from Ryviu: Product Reviews & QA app. 

You can try to add this code to your theme.liquid file after <head> in Online Store > Themes > Edit code 

<style>
@media (max-width: 749px) {
.card__heading { min-height: 55px; }
}
</style>

 

- Solved it? Hit Like and Accept solution! ❤️Buy Me Coffee❤️
- Reton: Loyalty & Rewards - Earn points through tasks, redeem for discounts, and enjoy exclusive VIP rewards!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

Moeed
Shopify Partner
6719 1814 2198

This is an accepted solution.

Hey @GavinZ 

 

Follow these Steps:

1) Go to Online Store
2) Edit Code
3) Find theme.liquid file

4) Add the following code in the bottom of the file above </body> tag

<style>
@media screen and (max-width: 767px) {
.card-information {
    height: 95px !important;
}
}
</style>

RESULT:

Moeed_0-1709546145595.png

 

If I managed to help you then, don't forget to Like it and Mark it as Solution!

 

Best Regards,
Moeed

- Need a Shopify Specialist? Chat on WhatsApp

- Get a quick Shopify quote – Click here!

- Custom Design | Advanced Coding | Store Modifications


GavinZ
Tourist
15 0 1

Thank you, this fixed our mobile site, we just find that we have the same problem on desktop site, do you know what to fix this?

da737e4f3a8faa41596550f9af39e6c.png

GavinZ
Tourist
15 0 1

Also it has a problem like this:

36dec2978c0a609e95a8363ee6cef5f.png

webwondersco
Shopify Partner
1186 171 174

@GavinZ Hope you are doing well.

 

Please add the below line of CSS at the end of your base.css file. You can find this file under assets folder.

 

.product .card-title{
min-height:46px;
}
Web Wonders | Shopify Partner | Connect here!
- Question answered? Mark as Accepted Solution, reply helpful? Click Like
- Hire me, if you want to design, re-design, develop a store, or make changes to the pre-built store.
- a small Coffee Tip would be greatly appreciated. :)..! Instagram