Shopify themes, liquid, logos, and UX
We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more
Hi guys!
How can I align the breadcrumbs with the beginning of the page width?
Thanks!
Page: https://kingdompetshop.com/collections/dog-collars-leashes
Theme: Refresh
Pw: abcd
Solved! Go to the solution
This is an accepted solution.
Hi @kingdom2,
You can make this change with a simple line of css.
.breadcrumb{
width: var(--page-width);
margin: 0 auto;
padding-left: 5rem;
padding-right: 5rem;
}
@media only screen and ( max-width: 889px) {
width: var(--page-width);
margin: 0 auto;
padding-left: 3rem;
padding-right: 5rem;
}
Paste this code to your base.css
Go to your online store> themes > Click on three dots of current active theme > edit code > search base.css in the left sidebar > open it and paste the code.
I hope this helps! If it does, please like it and mark it as a solution!
If you need further assistance, feel free to reach out!
Regards,
Sweans
Hi @kingdom2
Do you have other URL? Or you can also share the preview.
Thanks!
Thanks for the info, check this one.
From you Admin page, go to Online Store > Themes
Select the theme you want to edit
Under the Asset folder, open the main.css(base.css, style.css or theme.css)
Then place the code below at the very bottom of the file.
nav.breadcrumb {
margin-left: 13rem;
}
@media only screen and (max-width: 989px){
nav.breadcrumb {
margin-left: 7rem;
}
}
@media only screen and (max-width: 769px){
nav.breadcrumb {
margin-left: 3rem;
}
}
And Sve.
result:
Please don't forget to Like and Mark Solution to the post that helped you. Thanks!
This is an accepted solution.
Hi @kingdom2,
You can make this change with a simple line of css.
.breadcrumb{
width: var(--page-width);
margin: 0 auto;
padding-left: 5rem;
padding-right: 5rem;
}
@media only screen and ( max-width: 889px) {
width: var(--page-width);
margin: 0 auto;
padding-left: 3rem;
padding-right: 5rem;
}
Paste this code to your base.css
Go to your online store> themes > Click on three dots of current active theme > edit code > search base.css in the left sidebar > open it and paste the code.
I hope this helps! If it does, please like it and mark it as a solution!
If you need further assistance, feel free to reach out!
Regards,
Sweans