How to display product titles on mobile version of a website?

Topic summary

A user reported that product titles are not displaying on the mobile version of their Shopify store—only prices are visible, as shown in their screenshot.

Solution provided:

  • Navigate to Shopify admin → Online Store → Themes
  • Click Actions → Edit code on the active theme
  • Open the CSS file in the Assets folder (base.css, style.css, or theme.css)
  • Add the following CSS code at the bottom:
@media only screen and (max-width: 768px) {
  .grid-product__title.grid-product__title--body {
    display: contents;
  }
}
  • Save the changes

The fix successfully restored product title visibility on mobile devices. The issue appears to have been caused by CSS hiding the titles on smaller screens.

Summarized with AI on November 12. AI used: claude-sonnet-4-5-20250929.


When I open the website and look at products, it doesn’t say the title of the product, only the price. How do I make the product title also show on the mobile version?

1 Like

Hi @alek2

Would you mind to share your store URL?Thanks!

1 Like
1 Like

Thanks for the info, seems like its hide on the mobile screen.

Check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

@media only screen and (max-width: 768px){
.grid-product__title.grid-product__title--body {
    display: contents;
}
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!