How to customize collapsible content on MOBILE

Hey guys, I need help customizing the collapsible content on mobile.

Here’s how it looks now:

And here’s what I want:

  1. Remove the highlighting from the headings.
  2. Round the corners of the gray rectangles to 10px.

I only want this on mobile, as it’s already set up the way I want on desktop.

Here’s my store URL: https://1049xn-ya.myshopify.com/products/editing-masterclass

(Just scroll all the way down; the collapsible content is there.)

Thanks a lot,
Tim

Hi @CreatorTim

Try this one.

  1. From your Shopify admin dashboard, click on “Online Store” and then “Themes”.
  2. Find the theme that you want to edit and click on “Actions” and then “Edit code”.
  3. 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:
@media only screen and (max-width: 749px){
.collapsible-content summary:hover {
    background: unset;
}

.collapsible-row-layout .accordion {
    border-radius: 20px;
}
}

Your Feedback Matters! Please mark the solution and give likes to posts that helped you. Your appreciation fuels our motivation to assist you better!

I added it to base.css, but nothing changed—it’s not working. Also, I don’t want the text (the 3 headings) to be highlighted.

I only want this on mobile, as it’s already set up the way I want on desktop.

Fixed it, thank you for your help!