How can I remove the vertical line next to the filter dropdown?

Topic summary

A user seeks to remove a vertical line appearing next to a filter dropdown on their Shopify store’s collection page.

Initial Solution Provided:

  • Navigate to Shopify admin → Online Store → Themes → Actions → Edit code
  • Locate the CSS file (base.css, style.css, or theme.css) in the Assets folder
  • Add custom CSS targeting the border-right property of the filter button element

Troubleshooting:
The original CSS code didn’t work initially. Two solutions were offered:

  1. Modified CSS with !important flag - Adding !important to the border-right property to override existing styles
  2. Alternative CSS targeting - Using different selectors (.button.collection__filters__toggle and .button.popup__toggle) with border-right: none !important

Resolution:
The issue was successfully resolved using one of the provided CSS solutions. The discussion demonstrates a common Shopify theme customization workflow involving CSS overrides to modify visual elements.

Summarized with AI on November 16. AI used: claude-sonnet-4-5-20250929.

I added the css code to the theme.css file in assets, but am not seeing any changes.

Would the preview link help?

https://prtimimxdhfzzz0p-7752355.shopifypreview.com

1 Like