Dawn - Hide The Arrow SVG for Product Accordion Row

Solved

Dawn - Hide The Arrow SVG for Product Accordion Row

IllIlIl1
Excursionist
35 0 10

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

Accepted Solutions (2)

Tech_Coding
Shopify Partner
309 79 70

This is an accepted solution.

Hello @IllIlIl1 

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>
  details#Details-collapsible_tab_FfF9da-template--17664770146483__main svg {
      display: none !important;
   }
</style>

Tech_Coding_0-1725874086907.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.

View solution in original post

BSSCommerce-B2B
Shopify Partner
1723 513 577

This is an accepted solution.

@IllIlIl1,

Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file theme.liquid.

Step 3. Add this code before </body>

 

<style>
#Details-collapsible_tab_FfF9da-template--17664770146483__main icon.icon-caret {
  display: none!important
}
<style>

 

Result:

BSSCommerceB2B_1-1725874316739.png
Hope it helps 😍

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

View solution in original post

Replies 8 (8)

Tech_Coding
Shopify Partner
309 79 70

This is an accepted solution.

Hello @IllIlIl1 

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>
  details#Details-collapsible_tab_FfF9da-template--17664770146483__main svg {
      display: none !important;
   }
</style>

Tech_Coding_0-1725874086907.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.
IllIlIl1
Excursionist
35 0 10

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.

Tech_Coding
Shopify Partner
309 79 70

@IllIlIl1 
Add this

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__accordion.accordion:last-of-type {
      border-bottom-left-radius: 15px;
      border-bottom-right-radius: 15px;
  }
</style>

Tech_Coding_0-1725888415556.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.

Huptech-Web
Shopify Partner
937 187 197

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.

If you found this response helpful, please do like and accept the solution. Thanks!
Need support with Customizing your Shopify store?
Feel free to contact me at [email protected] or Visit our website Huptech Web.
Instant Shortcode Builder: Integrate customizable UI features anywhere in your store - No coding knowledge required

BSSCommerce-B2B
Shopify Partner
1723 513 577

This is an accepted solution.

@IllIlIl1,

Step 1. Go to Admin -> Online store -> Theme > Edit code

Step 2. Find the file theme.liquid.

Step 3. Add this code before </body>

 

<style>
#Details-collapsible_tab_FfF9da-template--17664770146483__main icon.icon-caret {
  display: none!important
}
<style>

 

Result:

BSSCommerceB2B_1-1725874316739.png
Hope it helps 😍

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

IllIlIl1
Excursionist
35 0 10

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. 

BSSCommerce-B2B
Shopify Partner
1723 513 577

@IllIlIl1 , yes this is your code

 

<style>
.product__accordion.accordion:last-of-type{
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px
}
</style>

Result: 

BSSCommerceB2B_0-1725879578049.png

 

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.


B2B Portal, Quote, Net 30: Speed up purchasing and streamline your quotation process with advanced features like quick order, request for quote.


B2B Lock Password Protect: Easily control access to pages, products, and pricing with robust features.


BSS Commerce - Full-service eCommerce Agency I Use Shopify for 1$ in the first month now

Rahul_dhiman
Shopify Partner
545 109 109

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
8.png

If this was helpful, hit the like button and accept the solution.
Thanks

Was I helpful?

Buy me a coffee



Want to modify or custom changes or bug fix on store . Or Need help with your store? Or -Want Complete Storefront
Email me [email protected] - Skype: live:dhiman.639
Checkout Some Free Sections Here
Mobile:- +91 62390-46167