Is it possible to hide the SVG arrow icon in a specific accordion row? I would like to set display: none for the SVG arrow icon in the last accordion row, ensuring that the arrow-icon does not appear for the last row only.
Reference Image:
https://imgur.com/a/WOHiI38
β
Store Link: https://6c34c9-d3.myshopify.com/products/t-shirt-test
Password: yewsto
Hello @IllIlIl1
You can add code by following these steps
-
Go to Online Store β Theme β Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
details#Details-collapsible_tab_FfF9da-template--17664770146483__main svg {
display: none !important;
}
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.
1 Like
Hi @IllIlIl1
To hide the arrow
Go to component-accordion.css
Add below code
details:last-child svg.icon.icon-caret {
display: none !important;
}
Thank you
D.P.
@IllIlIl1 ,
Step 1. Go to Admin β Online store β Theme > Edit code
Step 2. Find the file theme.liquid.
Step 3. Add this code before
Result:

Hope it helps :heart_eyes:
1 Like
Hello @IllIlIl1
Go to online store ----> themes ----> actions ----> edit code---->base.css
add this code at the end of the file.
details#Details-collapsible_tab_FfF9da-template--17664770146483__main svg {
display: none !important;
}
result
If this was helpful, hit the like button and accept the solution.
Thanks
Thanks! Is also possible to add a border radius to the bottom left and bottom right corners of the last accordion row? Iβd like to have a border radius applied specifically to the bottom corners of that row.
Thanks! Is also possible to add a border radius to the bottom left and bottom right corners of the last accordion row? Iβd like to have a border radius applied specifically to the bottom corners of that row.
@IllIlIl1 , yes this is your code
Result:
@IllIlIl1
Add this
You can add code by following these steps
-
Go to Online Store β Theme β Edit code.
-
Open your theme.liquid file
-
Paste the below code before on theme.liquid
.product__accordion.accordion:last-of-type {
border-bottom-left-radius: 15px;
border-bottom-right-radius: 15px;
}
my reply helpful? Click Like to let me know!
your question answered? Mark it as an Accepted Solution.