How to remove the arrows from my collapsible content?

Solved

How to remove the arrows from my collapsible content?

leegoog
Shopify Partner
6 0 2

Hello. I was wondering how to remove the arrows from the collapsible content, such as the image below:

 

leegoog_0-1725440200945.png

how to change and add new icon to it?

 

Thanks for the help!

Accepted Solution (1)
sahilsharma9515
Shopify Partner
1161 145 221

This is an accepted solution.

Hi @leegoog Please add the below code to remove the icon.

 

<style>
svg.icon.icon-caret {
    display: none;
}
</style>

 

Please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.liquid in the code in left hand side in your theme.
  6. Add the following code in the bottom of the file above </body> tag

Result:

sahilsharma9515_0-1725450540822.png

 

If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


View solution in original post

Replies 11 (11)

BSSCommerce-HDL
Shopify Partner
2071 734 921

Hi @leegoogCan you kindly share your store link with us? We will check it and suggest you a solution if possible.

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

leegoog
Shopify Partner
6 0 2

Hi there, I didn't publish the shop now. 

https://b3ae64-c3.myshopify.com/

Are you able to see it? Thanks

BSSCommerce-HDL
Shopify Partner
2071 734 921

@leegoog, Your site have protected password

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .

B2B Wholesale Solution: Streamline your B2B operation with advanced features like wholesale registration forms, custom pricing.
Product Labels & Badges:
Get more sales with striking labels, badges, and banners from our 10,000+ available templates.

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

leegoog
Shopify Partner
6 0 2

Hi there, I managed to removed password, can you see it now? Thanks

sahilsharma9515
Shopify Partner
1161 145 221

Hi @leegoog 

As you need to remove the unused icon code, then upload the new icon in the assets and call that icon where do you want to show it, and later on customize it with the help of css.

 

If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


leegoog
Shopify Partner
6 0 2

This is the Collapsible content in the shopify systerm, do you mean after I publish the website then I can change the icon? but first how to remove the arrow for the collapsible fuctiom?

sahilsharma9515
Shopify Partner
1161 145 221

Hi @leegoog It's not related to publishing the site first, you can do it even your theme is in draft mode.

 

Can you please provide your store URL and password as well if applicable, so that I can provide you the code that will remove the existing icon.

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


sahilsharma9515
Shopify Partner
1161 145 221

This is an accepted solution.

Hi @leegoog Please add the below code to remove the icon.

 

<style>
svg.icon.icon-caret {
    display: none;
}
</style>

 

Please follow the steps:

  1. Login in shopify admin.
  2. Click on the Online Store.
  3. Then click on the button next to Customize in live Theme.
  4. Click Edit Code.
  5. Search theme.liquid in the code in left hand side in your theme.
  6. Add the following code in the bottom of the file above </body> tag

Result:

sahilsharma9515_0-1725450540822.png

 

If you will unable to implement the same then I'm happy to do this for you, let me know. I can implement the code changes so that this will work well for you.

 

Hopefully it will help you. If yes then Please don't forget hit Like and Mark it as solution!

 

Best Regards

Sahil

- Your

 Coffee Tip 

can create magic in coding ❤️❤️

- Need a Shopify Developer? CHAT ON WHATSAPP or EMAIL ME !


- Hopefully the solution will help you. If yes then Please hit

 Like 

and

 Mark it as solution! ❤️


leegoog
Shopify Partner
6 0 2

Thanks a lot, all sorted. 

Dan-From-Ryviu
Shopify Partner
9193 1843 1875

Hi @leegoog 

You can change or remove that icon from your Online Store > Themes > click "..." in the current theme > Edit code > open collapsible-content.liquid file, find 

{% render 'icon-caret' %}, remove it, or change 'icon-caret' with another icon file. 

Screenshot 2024-09-04 at 16.42.31.png

- Helpful? Like and Accept solution!
- Ryviu - Reviews & QA app: Collect product reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Shopee, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image: Easy and fast to create Photo Gallery, Lookbook, Shop The Look.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

leegoog
Shopify Partner
6 0 2

Thanks for the help, but I need to remove the arrow from the Collapsible content first.