How to change breadcrumbs position on product page

Topic summary

A user is attempting to reposition breadcrumbs on product pages to appear just above the product title, but encounters issues with the breadcrumbs shifting position across different device sizes.

Problem Details:

  • Breadcrumbs currently display in an undesired location
  • Position changes when previewed on different screen sizes
  • User seeks a stable solution that maintains consistent placement

Proposed Solutions:
Two community members provided CSS-based fixes:

  1. First approach: Add custom CSS to theme.liquid file before the </body> tag, targeting breadcrumb alignment with media queries for screens 768px and wider

  2. Second approach: Insert CSS code into base.css file with similar media query targeting, adjusting margin and content justification properties

Both solutions use responsive design techniques (@media queries) to control breadcrumb positioning specifically on desktop/tablet viewports while maintaining mobile compatibility. The discussion remains open with no confirmation of which solution was implemented or whether the issue was resolved.

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

Hi, I am trying to change the position of the breadcrumbs on my product pages (See screenshot) but when I preview it it moves (See screenshot). Does anyone know how I can move it just above the product title and not move on different device sizes? Thank you for your help!

Store URL: https://servicedetable.com/collections/dinnerware/products/white-elegant-dinnerware-set?variant=49231042904392

1 Like

Hello @INKLY

You can add code by following these steps

  1. Go to Online Store → Theme → Edit code.

  2. Open your theme.liquid file

  3. Paste the below code before on theme.liquid

@media screen and (min-width: 768px) { nav.breadcrumb.breadcrumbs--default.inherit { padding-left: unset !important; text-align: center !important; } }

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.

Hello @INKLY

  1. In your Shopify Admin go to online store > themes > actions > edit code
  2. Find Asset > base.css and paste this at the bottom of the file:
@media (min-width: 768px) {
.breadcrumb.breadcrumbs--default.inherit {
justify-content: center!important;
margin-left: 65px!important;
}
}