Product Name and Product Price on same line for collection page

Topic summary

A user wants to display product names and prices on the same horizontal line on their collection page, with the price aligned to the right, working on both desktop and mobile.

Initial Solutions (Flow Theme):

  • Multiple CSS solutions were provided targeting .grid-view-item--desc-wrapper with flexbox properties
  • Code snippets suggested adding to either Custom CSS section or timber.css file
  • One responder noted the theme appeared outdated and broken

Resolution:

  • User updated to a newer theme (Horizon family)
  • The newer theme offers built-in customization options without requiring custom code
  • Solution involves using theme settings to control element placement through the visual editor
  • Screenshots demonstrate the configuration process in the theme customizer

The discussion evolved from a CSS coding solution to a theme upgrade that provides native functionality for this layout requirement.

Summarized with AI on October 23. AI used: claude-sonnet-4-5-20250929.

Hi, on my shop page I would like the price displayed to the right of the product name. Would also need to read the same on mobile. Please help! Attaching an example image. I’m using the Flow theme. My shop is stablefaith.myshopify.com the password is IODAOTIFII - thanks

Your theme looks old and it’s also broken.
I’d suggest to rather use a newer untouched one.

Having said that, here is the CSS code you can paste into “Customize”=> Theme Settings=> Custom CSS:

.grid-view-item--desc-wrapper > div {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
}

@faithandwhatnot - please add this css to the very end of your timber.css file and check

shopify admin->online store->themes->edit theme code->assets->timber.css

.grid-view-item--desc-wrapper div {display: flex;  justify-content: space-between;  align-items: baseline;}

Hi @faithandwhatnot

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > timber.scss.css and paste this at the bottow of the file:
.grid-view-item--desc-wrapper > div {
  display: flex;
  justify-content: space-around;
  align-items: baseline;
}

Hi there :waving_hand:

Thanks for sharing the details. I’d be happy to help with positioning the product price to the right of the product name in the Flow theme.

Just to confirm before I provide the exact code,are you referring to the collection/shop grid page (where multiple products are listed), or the individual product page?

This will ensure the layout is adjusted correctly for both desktop and mobile, matching the exact structure you’re aiming for.

Looking forward to your clarification! :white_check_mark:

Hey @tim_1 - I took your advice and updated my theme to a newer one - can you tell me how to move the product and price to the same line there? Thanks.

1 Like

Horizon family themes give you more control over placement of elements.

Do this, no need for code: