Modify Icon With Text section to have no text and larger images

Hi there,

On my product pages I have an Icon With Text Block, where I want to show 3 x image badges

However I cant see a way to remove the text and make the 3 x images larger to fill the section (as my images already contain text).

Any ideas?

Store details:

https://7a5425-c8.myshopify.com/

stiald

Thanks

1 Like

Hey @yapofire

Follow these Steps:

  1. Go to Online Store
  2. Edit Code
  3. Find theme.liquid file
  4. Add the following code in the bottom of the file above tag.

RESULT:

If I managed to help you then, don’t forget to Like it and Mark it as Solution!

Best Regards,
Moeed

1 Like

Hi @yapofire

  • Go to Online Store β†’ Theme β†’ Edit code.
  • Find the file assets/base.css and paste the code below at the bottom of the file."
.icon-with-text__item span {
display: none;
}
.icon-with-text__item img {
width: 90px;
height: auto;
}

1 Like

Hi Yapofire again :slightly_smiling_face: ,
Use this code in product page > custom liquid

.icon-with-text__item .h4 {
  display: none;
}
.icon-with-text__item img {
  width: 200%;
  height: auto;
}

Adjust width as per needed

Hope to have solved your query :slightly_smiling_face:

Modified to this, as couldnt see icon size change

.icon-with-text__item span {
display: none;
}
.icon-with-text__item img {
width: 80px !important;
height: auto !important;
}

Works great, thanks

1 Like

Hi @yapofire

Great to hear that the issue has been resolved! If you need any further assistance, feel free to reach out.

Hello do you know how to add more icons? Like instead of just 3 make them 4 or 5