Breadcrumbs box shading

Topic summary

A Shopify store owner seeks help changing the breadcrumbs navigation bar styling on their product pages. They want to modify the background color and text appearance but previous solutions haven’t worked.

Initial Request:

  • Change breadcrumbs box background color
  • Make text white
  • Extend bar to full screen width (like the header)

Solution Provided:
Multiple users offer CSS code snippets targeting .dynamic-page-width.breadcrumbs and related selectors. The final working solution includes:

  • Black background for full-width breadcrumbs bar
  • White text color
  • White arrow separators (properly aligned at 45% vertical position)
  • Reduced height using padding-block: 0

Technical Details:
Code is added to the theme’s CSS file (typically styles.css in the Assets folder) via Shopify Admin → Online Store → Themes → Edit Code.

Resolution:
The issue is fully resolved. The breadcrumbs bar now displays as a full-width black bar with white text and properly aligned arrow separators at the desired height. The original poster confirms the solution works perfectly.

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

Hi wonder if anyone can help - i have tried 3 solutions from this board none of which worked and they all involved changing the theme liquid above the head

we are trying to change the background colour of the breadcrumbs box in the code

any suggestions welcome url and picture here https://kitout-fitness.co.uk/collections/crossfit-chiltern/products/womens-vest

thanks

Hi Shane

Would you like to do like this ?

Thanks!

no sorry a full bar all the way across and change text to white thanks

like this ?

1 Like

Hi @Shane_h

you can change any color as you want here:

.dynamic-page-width.breadcrumbs{
      background: antiquewhite;
}

1 Like

yes please but black

If yes

then follow this

1. Log in to your Shopify Admin Panel#### 2. Navigate to Online Store → Themes- In the left sidebar, click “Online Store”.

  • Under “Themes”, you’ll see your current live theme.

3. Click “Actions” → “Edit Code”- Next to your active theme, click the “⋯ (three dots)” or “Actions” button.

  • Select “Edit Code” from the dropdown.

4. Locate the Stylesheet- Look in the Assets folder.

  • Find a file named something like:

    • styles.css
  • Click on it to open the file in the code editor.

5. Add Your CSS Code- Scroll to the bottom of the CSS file.

  • Paste your custom CSS code:

    li.item.slider__slide {
        color: white;
    }
    .slider.slider--desktop { 
     background: #000000;
     }
    
    .breadcrumbs > ul > li .arrow {
        border-color: #fff;
    }
    

6. Save the File- Click the “Save” button (usually at the top right of the editor window).

7. Clear Cache and Preview

check my new comment.

Hi @Shane_h

let try this:

.dynamic-page-width.breadcrumbs {
  background: black;
}
.dynamic-page-width.breadcrumbs > ul > li {
  color: white;
}
.dynamic-page-width.breadcrumbs > ul > li .arrow{
  border-color: white;
}

the result will be:

Hi shane,

for white arrow

.breadcrumbs > ul > li .arrow {
    border-color: #fff !important;
}

Thanks!

Is it possible to make it full width of the screen like the header bar ?

thanks

we need it to fill the screen on full width

Let try it:

#shopify-section-sections--23664574628169__breadcrumbs,
.dynamic-page-width.breadcrumbs {
  background: black;
}
.dynamic-page-width.breadcrumbs > ul > li {
  color: white;
}
.dynamic-page-width.breadcrumbs > ul > li .arrow{
  border-color: white;
}

result:

its worked to a degree but the > symbols are not on the same level as the breadcrumbs it’s in your image as well

Screenshot 2025-05-09 144132.jpg

@Shane_h

let try this:

#shopify-section-sections--23664574628169__breadcrumbs,
.dynamic-page-width.breadcrumbs {
  background: black;
}
.dynamic-page-width.breadcrumbs > ul > li {
  color: white;
}
.dynamic-page-width.breadcrumbs > ul > li .arrow{
  border-color: white;
  top: 45%;
}

result:

perfect - one last question can we reduce the height of it please ?

let try this one @Shane_h

#shopify-section-sections--23664574628169__breadcrumbs,
.dynamic-page-width.breadcrumbs {
  background: black;
}
.dynamic-page-width.breadcrumbs > ul > li {
  color: white;
  padding-block: 0;
}
.dynamic-page-width.breadcrumbs > ul > li .arrow{
  border-color: white;
  top: 45%;
}

result:

1 Like

perfect thanks :+1:

thanks for your support with this as well :+1: