How to fix icon overlap issues on collapsible row in product page?

Topic summary

Issue: On a product page’s collapsible rows, a chosen icon overlaps with the default down-arrow. Without a chosen icon, the arrow shows but text misaligns (likely due to RTL layout). Goal: show only the selected icon when set; show only the arrow when no icon is selected.

Solution provided: Add CSS in the theme’s main CSS file (base.css/style.css/theme.css) to hide the default caret arrow (selector: svg.icon.icon-caret). This prevents overlap when a custom icon is used. Result screenshots were shared.

Follow-up: Additional spacing between icon and text achieved by increasing the gap on the collapsible summary title (selector: .summary__title), improving readability.

Outcome: The CSS fix worked for the original poster and spacing was successfully adjusted.

Open item: Another user on the Dawn theme reported the solution didn’t work. The helper requested the store URL to investigate theme-specific differences.

Notes: Images were central to demonstrating the before/after. The fix hides the default arrow globally; behavior when “no icon” is selected may require theme-specific conditional styling if different per-section behavior is needed.

Summarized with AI on December 16. AI used: gpt-5.

Hello Everyone,

i have a problem on my product page, when i use Collapsible row

if i choose an icon :

then i have another icon of a down arrow collapsing with it.

and when i don’t choose an icon it show the arrow but the text goes above it (probably because i set my website to RTL) :

i would like to get a solution for that:

  • if i choose an icon so it will show only the icon

  • if i choose ‘no icon’ it will only show the down arrow

link to my website:

Https://ChicBotique.co.il

Thanks in advance

1 Like

Hi @ChicBotique1

Check this one.

From your Shopify admin dashboard, click on “Online Store” and then “Themes”.

Find the theme that you want to edit and click on “Actions” and then “Edit code”.

In the “Assets” folder, click on “base.css, style.css or theme.css” file, depending on which file your theme uses to store its CSS styles. At the bottom of the file, add the following CSS code:

svg.icon.icon-caret {
    display: none;
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

@Made4uo-Ribe works like a charm.

by the way can you help me add a litle more spacing between the icons and the text ?

1 Like

Yes, sure. Same instruction and paste the code below.

.summary__title {
    gap: 10px;
}

And Save.

Result:

Please don’t forget to Like and Mark Solution to the post that helped you. Thanks!

Didn’t work for me (dawn theme)

Hi @Farghany

Please, share your store URL so I can take a look. Thanks!