How can I make the product title and price on the same line? I am using Horizon theme and I made a group section with a horizontal layout and it works only on desktop view eventhough I selected horizontal view on mobile as well. And if the product title is too long, it needs to be shortened with the three dots … , see reference image I want it exactly like taliri.fr .
Since you’re using the Horizon theme, you’ll likely need to customize the product card markup and CSS, as the default layout stacks the title and price on smaller screens.
For the title truncation with an ellipsis, you can use CSS like this:
If the Horizon theme uses different class names, sharing the relevant product card code or a screenshot of your setup would help identify the correct selectors.
From what I can see, this isn’t something that can be achieved through the theme settings alone. You’ll need a small CSS customization to keep the product title and price on the same row and truncate long titles with an ellipsis, similar to taliri.fr. Horizon uses custom product card components, so a CSS override is the right approach.
Try adding this to your theme’s Custom CSS or base.css:
If this doesn’t fully match your layout it’s likely because your product card has been customized or uses different class names. In that case, please share a preview link (with password if applicable), and I can provide the exact selectors for your theme.
If the Horizon theme is stacking them only on mobile, a mobile media query may be overriding the layout. You can force the horizontal layout on smaller screens:
If you’re using Horizon’s new group block, it’s also worth checking whether the mobile layout is being overridden by the section’s generated CSS rather than your settings.
If you can share your store URL (or the relevant HTML from the product card), I can give you the exact CSS or Liquid changes needed to match taliri.fr almost pixel for pixel.
The mobile issue is likely because Horizon’s group section uses a “direction” setting that can differ between breakpoints, but sometimes the mobile toggle doesn’t fully override the flex behavior - check under the group section’s settings for a separate “Mobile layout” or “direction” dropdown (not just the desktop one), since some Horizon versions only expose this via a scoped setting rather than the main layout picker. If it’s still not respecting it, you may need to add custom CSS via a code block: something like @media (max-width: 749px) { .your-group-class { flex-direction: row; align-items: center; justify-content: space-between; } } targeting the specific class of your group section.
For the ellipsis truncation on long titles, that’s standard CSS - apply white-space: nowrap; overflow: hidden; text-overflow: ellipsis; to the title element along with a max-width (in %, so it doesn’t push the price off-screen), and pair it with flex-shrink: 0 on the price so it never gets squeezed. You’ll likely need to inspect the exact class names Horizon generates for the title/price within that section and target those directly in a custom CSS block, since Horizon doesn’t expose ellipsis truncation as a built-in theme setting.
You’ll likely need a small CSS override, as Horizon stacks these elements on mobile. Use text-overflow: ellipsis for long titles and force the title and price to stay on the same line with flex styling.
This may require a small CSS customization, as Horizons mobile layout has some limitations. A flex layout combined with single line text truncation should help you achieve the same results as your reference.