Shopify themes, liquid, logos, and UX
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
Starting a B2B store is a big undertaking that requires careful planning and execution. W...
By JasonH Sep 23, 2024By investing 30 minutes of your time, you can unlock the potential for increased sales,...
By Jacqui Sep 11, 2024We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024