Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Some of the product titles are longer than others on the collection page and it is causing the pricing not to be on the same line. Is there a way to make it so that the prices are all on the same line no matter how long the description is?
Solved! Go to the solution
This is an accepted solution.
@Seoulful777 We have implemented the solution on your store on the collection page to display the prices on the same line regardless of the product title length. Please let us know whether it is helpful for you.
Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Hi @Seoulful777
Could you please share the store link with us?
Thank you!
Best,
Daisy - Avada Support Team.
the store is not live as yet, so I am not suer I can do that is there any other way to find a solution?
Hi @Seoulful777
I hope you are well. You can follow our instructions below:
Step 1: Shopify admin > Online store > Customize: https://prnt.sc/XQ6IDB99kUCd
Step 2: From the left menu > Theme settings > Open Custom CSS: https://prnt.sc/iDxwa8zBQ4Z-
Step 3: Copy the code below and paste it there
Here is the code for Step 3:
h3.card__heading {
height: 50px;
}
Before:
After:
Please let me know if it works. Thank you!
Best,
Daisy - Avada Support Team.
Hey @Seoulful777
Welcome to Shopify Community! Can you share your Store URL so I can have a look on it? Also, if you have password enabled then please share the password as well. Your cooperation would be greatly appreciated.
Best Regards,
Moeed
@Seoulful777 We can use ellipsis to display the product title in single line to lining up the prices on collection page in Be yours theme. Please follow below steps and let us know whether it is helpful for you.
.template-collection .card-information .card-information__wrapper .card-information__text {
overflow: hidden;
white-space: nowrap;
text-overflow: ellipsis;
display: block;
width: 100%;
}
that definitely worked better, but is there a way to keep the entire product title but just align the pricing?
I saw this on another thread, would it work? and if so, where would I insert this code?
@media only screen and (min-width: 749px) {
.template-collection .product-card__title, .grid-view-item__title { height: 125px; }
}
@Seoulful777 We can display the entire product title, but it needs some additional coding. Can you please share the collaborator code of the store to check your theme code and provide solution based on it?
And to answer your question about the code you shared, it is not advisable to use the code since it uses static height.
Thank you so much 9013
@Seoulful777 Thank you for sharing the code, we need your store URL as well to access the store. Can you please also share that?
@Seoulful777 Yes, please. We have also requested collaborator access to your store. Please approve it to let us view the theme code and store.
I have accepted, thank you!
This is an accepted solution.
@Seoulful777 We have implemented the solution on your store on the collection page to display the prices on the same line regardless of the product title length. Please let us know whether it is helpful for you.
Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Thank you so much! You guys are awesome! I really appreciate it!