Re: Add Spacing on Breadcrumb and how to add styling on Breadcrumb

Solved

Add Spacing on Breadcrumb and how to add styling on Breadcrumb

hamzaabbas
Excursionist
52 0 5

How to Add Spacing on Breadcrumb and how to add styling on Breadcrumb. There is two Breadcrumbs, i want to remove one breadcrumb on specific pages.

 

https://www.tridentproducts.co.uk/products/deal-town-rangers-kids-waterproof-insulated-jacket

 

asfafaf.jpg

Accepted Solution (1)

ZestardTech
Shopify Partner
5986 1076 1439

This is an accepted solution.

Hello @hamzaabbas 

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:

 

.product-details .breadcrumb {
display: none !important;
}
.breadcrumb {
padding: 35px 7px 7px !important;
display: flex;
gap: 4px;
}

 

ZestardTech_0-1732870708943.png

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing

View solution in original post

Replies 4 (4)

Tech_Coding
Shopify Partner
500 127 124

Hello @hamzaabbas 

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>
 .product-details .breadcrumb {
     display: none !important;
   }
  .breadcrumb {
      padding: 35px 7px 7px !important;
      display: flex;
      gap: 4px;
  }
</style>

Result:

Tech_Coding_0-1732863783310.png

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

my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.
hamzaabbas
Excursionist
52 0 5

when i use this code

 

.product-details .breadcrumb {
     display: none !important;

 

It removes both breadcrumbs.

Tech_Coding
Shopify Partner
500 127 124

Hello @hamzaabbas 

add this below code in place of this code 
.product-details .breadcrumb {
     display: none !important;

 }

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>

   nav.breadcrumb.breadcrumb-left {
      display: none  !important;
   }
</style>
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
Shopify UI Developer
Your Coffee Tips adds a little sweetness to my day.

ZestardTech
Shopify Partner
5986 1076 1439

This is an accepted solution.

Hello @hamzaabbas 

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:

 

.product-details .breadcrumb {
display: none !important;
}
.breadcrumb {
padding: 35px 7px 7px !important;
display: flex;
gap: 4px;
}

 

ZestardTech_0-1732870708943.png

 

Want to modify or develop new app, Hire us.
If helpful then please Like and Accept Solution .
Email: support@zestard.com
Shopify Apps URL :- https://apps.shopify.com/partners/zestard-technologies
Custom Modifications Into Shopify Theme | Shopify Private App | SEO & Digital Marketing