We're moving the community! Starting July 7, the current community will be read-only for approx. 2 weeks. You can browse content, but posting will be temporarily unavailable. Learn more

How can I add product name under product photo?

Solved

How can I add product name under product photo?

crescenthu
Excursionist
23 0 5

Hi! 

On my homepage, I have got some products on my homepage, and in the "All Products" tab. For some reason, neither of them display the price, and the name of the product under the picture of the product. How can I fix this?

crescenthu_0-1750929623475.png

These are two products, i would want the name of the product under the pictures.

 

https://zq2pbf-di.myshopify.com/
Pw: theaba

 

Thanks in advance!

Accepted Solution (1)

AiTrillion
Shopify Partner
4265 250 752

This is an accepted solution.

Hi @crescenthu ,

To show both the price and heading change the below code from 

.card__information {
opacity: 0 !important;
}


To 

.card__information {
opacity: 0 !important;
}

 

Now, the price and heading will appear.

AiTrillion_1-1750934706204.png

 



To only show price please add the below css to theme.css or base.css

AiTrillion_0-1750934408530.png


.card__information .card__heading {

display: none

}

If you stuck somewhere, feel free to message me or reply me.

Sachin D | Shopify Growth Expert @ AiTrillion

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- 10+ Years of eCommerce experience.
- 1400+ Stores Designed on Shopify.
- All in One Marketing App on Shopify AiTrillion Marketing Automation
.
- 13+ Shopify Apps launched on app store.

View solution in original post

Replies 5 (5)

Guleria
Shopify Partner
4299 825 1189

Hello @crescenthu ,

 

Follow these steps:

1. Go to Online Store -> Theme -> Edit code

2. Open your component-card.css file and paste the following code at the bottom:

.card--standard>.card__content .card__information { 
    display: contents; 
}

 

Regards
Guleria

- Elevate Your Store with Expert Shopify Services. Email: guleriathakur43@gmail.com - Need a quick fix or a tailored customization? I’ve got you covered.
- Looking to enhance your pages? Try GEMPAGES- a powerful drag & drop page builder.
- Let’s make your store stand out. Get in touch today!
- My Apps: Productify Groups – Smart product grouping made easy.

Dan-From-Ryviu
Shopify Partner
12073 2359 2539

You added this code somewhere, which caused the issue.

.card__information {
    opacity: 0 !important;
}

Please add this code to remove price and display product name only

.card__content .card__information {
    opacity: 1 !important;
}
.card__content .card__information .card-information { 
    display: none !important; 
}

 

- Helpful? Like & Accept solution!
- Ryviu - Product Reviews & QA app: Collect customer reviews, import reviews from AliExpress, Amazon, Etsy, Walmart, Dhgate and CSV.
- Lookfy Gallery: Lookbook Image - Gain customers with photo gallery, video & shoppable image.
- Reelfy‑Shoppable Videos+Reels: Create shoppable videos to engage customers and drive more sales.
- Enjoy 1 month of Shopify for $1. Sign up now.

ProtoMan44
Shopify Partner
772 60 115

@crescenthu hey, thanks for posting here.
please remove this CSS from main-collection.liquid file internal code.

ProtoMan44_0-1750934062229.png

 

 

- A thirsty developer passionate about supporting the community. If you'd like to, you can  

Buy me a Coffee.


- Your Shopify Solution Specialist Get a Quote at

ProtoMan44

 - 

Chat On Whatsapp


Crafting exceptional e-commerce experiences to elevate your online presence. Let's build your success story together!

AiTrillion
Shopify Partner
4265 250 752

This is an accepted solution.

Hi @crescenthu ,

To show both the price and heading change the below code from 

.card__information {
opacity: 0 !important;
}


To 

.card__information {
opacity: 0 !important;
}

 

Now, the price and heading will appear.

AiTrillion_1-1750934706204.png

 



To only show price please add the below css to theme.css or base.css

AiTrillion_0-1750934408530.png


.card__information .card__heading {

display: none

}

If you stuck somewhere, feel free to message me or reply me.

Sachin D | Shopify Growth Expert @ AiTrillion

- Was my reply helpful? Click Like to let me know!
- Was your question answered? Mark it as an Accepted Solution
- 10+ Years of eCommerce experience.
- 1400+ Stores Designed on Shopify.
- All in One Marketing App on Shopify AiTrillion Marketing Automation
.
- 13+ Shopify Apps launched on app store.
crescenthu
Excursionist
23 0 5

Thank you, perfect! 🙂