Center the title and price for the collection and change the color of the "promotion" badge on Dawn

Hello, again little pb to center the title and price for the collection and change the color of the “promotion” badge

I search on main-collection-banner.liquid but i cannot center the title of the collection produc and the price, also i would like to change the promotion bade for this on my collection : https://mobilegear.fr/collections/refroidisseurs-telephone

I succefully change the badge color on my product page and center everything but i am struggling for collection pages if you can help :slightly_smiling_face: with this code :

/* Change la couleur du texte et de la bordure du badge "En vente" */ .badge.price__badge-sale { color: #30E413; /* Définit la couleur du texte du badge en vert vif */ border: 2px solid #30E413; /* Définit la couleur de la bordure du badge en vert vif */ background-color: transparent; /* Garde le fond du badge transparent */ }

Hi @Sauron6263 ,

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 on theme.liquid

You can change the colors as you like on badge colors.

Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

i added the code on theme.liquid but nothing happened

Can you check this one. Just found H2 was changed to H3. The code below should work.


Was my reply helpful? Click Like to let me know!
Was your question answered? Mark it as an Accepted Solution.

in theme.liquid ?