Shopify themes, liquid, logos, and UX
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!
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 </body> on theme.liquid
<style>
@media screen and (min-width: 768px) {
nav.breadcrumb.breadcrumbs--default.inherit {
padding-left: unset !important;
text-align: center !important;
}
}
</style>
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;
}
}
To change the position of the breadcrumbs on your product pages and keep them consistent across different device sizes, you can use custom CSS. Here's how you can do it:
Make sure to adjust the top value to your preference to achieve the desired spacing. After making the changes, preview them on different devices to ensure it looks good everywhere.
If you need further assistance, please feel free to reach out!
Shopify and our financial partners regularly review and update verification requiremen...
By Jacqui Mar 14, 2025Unlock the potential of marketing on your business growth with Shopify Academy's late...
By Shopify Mar 12, 2025Learn how to increase conversion rates in every stage of the customer journey by enroll...
By Shopify Mar 5, 2025