collection list add heading + color button

Hello,

I would like to add heading on top of the 2 collection images + change button background color to black, could someone help me please

https://3bd1b6-29.myshopify.com/

1 Like

Hi @elise1

Please add this code to Custom CSS in Online Store > Themes > Customize > Theme settings

#m-collection-list-template--23629843759428__collection_list_UctWWd .m-collection-card--inside-2 .m-collection-card__info {
bottom: unset;
top: 0px;
}
#m-collection-list-template--23629843759428__collection_list_UctWWd .m-collection-card--inside-2 .m-collection-card__info .m-button--white { background: #000; color: #fff; }

Hi elise1

We’re looking into the inquiry for you, but when I opened the store, it looked a bit different from the picture you sent in your question. Could you please confirm what theme you’re using and verify if your question is indeed referring to this link: https://prnt.sc/NAmeAemfMd-9

We look forward to hearing from you soon!

Hi @elise1

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:
m-collection-list > div > div > div > div > div > div:nth-child(1) > div:before {
    content: 'Heading on first Image.';
}
m-collection-list > div > div > div > div > div > div:nth-child(2) > div:before {
    content: 'Heading of the 2nd Image.';
}

a.m-button.m-button--white.m\:justify-center.m\:items-center {
    background: black;
    color: white;
}

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