Title and Price on same line Collections Spotlight theme

Solved

Title and Price on same line Collections Spotlight theme

pgm1878
Tourist
8 0 1

Trying to get the Product and Price on the same line, with Title to left and Price to right, but can't get it quite right. website=mrs-tee.com

Currently my featured collection and collection list look like:

pgm1878_0-1714341014836.png

I would like it to look like:

Untitled-1.jpg

Accepted Solution (1)

Anshul_arora
Navigator
453 129 106

This is an accepted solution.

Hello @pgm1878 ,

I have reviewed your store link and shared screenshots.

Please add the below-mentioned CSS code to display the Product title (longer product name) and prices in the same row.

<style>

#shopify-section-template--19148305760567__product-grid .card__heading {
width: 80% !important;
}

</style>

Output =>

Anshul_arora_0-1714387639574.png

 

I hope the code helps you.

Please share if you have any queries.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here

View solution in original post

Replies 4 (4)

BrainStation23
Shopify Partner
416 62 62

HI @pgm1878 

BrainStation23_0-1714380418766.png


is that already happen

Brain Station 23 PLC (Mail: js.sbu@brainstation-23.com)
- Was your question answered? Mark it as an Accepted Solution
- Did the solution not address your concern? We kindly request that share or mail your store URL with us this will enable us to collaborate more closely.
- Explore our Shopify public apps
pgm1878
Tourist
8 0 1

Only for items with short titles. Longer titles (especially ones that take up more than one row) are pushing the price to a new row.

Anshul_arora
Navigator
453 129 106

This is an accepted solution.

Hello @pgm1878 ,

I have reviewed your store link and shared screenshots.

Please add the below-mentioned CSS code to display the Product title (longer product name) and prices in the same row.

<style>

#shopify-section-template--19148305760567__product-grid .card__heading {
width: 80% !important;
}

</style>

Output =>

Anshul_arora_0-1714387639574.png

 

I hope the code helps you.

Please share if you have any queries.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here
pgm1878
Tourist
8 0 1

Worked like a charm, thanks!