My product title and price aren't showing up on the product grid. (DAWN)

Solved

My product title and price aren't showing up on the product grid. (DAWN)

cureblame
Excursionist
35 0 4

How do I make the price and product name under the product appear? I had a past coder I worked with get rid of them/ or made them transparent.

URL:cureblame.com

PASS:dthdrv00Screenshot 2024-04-23 004034.png

Accepted Solution (1)

Anshul_arora
Navigator
453 128 96

This is an accepted solution.

Hello @cureblame ,

Please add the code at the bottom of the theme.liquid file before </body> tag and save.

<style>
.card__heading {
opacity: 2 !important;
}
.card-information > .price {
display: block !important;
}
</style>


Anshul_arora_0-1713856753391.png

 

I hope it will work.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here

View solution in original post

Replies 11 (11)

Sweet_Savior_3
Shopify Partner
1335 102 138

Hello @cureblame 

 

Welcome to Shopify Community.

 

Kindly please add below CSS in theme.liquid above </head> tag.

.card__heading {
 opacity: 1;
}
body .card-information > .price {
    display: block !important;
    font-weight: 700;
}

 

OUTPUT:

Sweet_Savior_3_0-1713851819096.png

 

Thanks

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!
cureblame
Excursionist
35 0 4

It didn’t work

Sweet_Savior_3
Shopify Partner
1335 102 138

Please remove the previous code and add the below code above </head> tag.

<style>
.card__heading {
 opacity: 1;
}
body .card-information > .price {
    display: block !important;
    font-weight: 700;
}
</style>
Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!
cureblame
Excursionist
35 0 4

it only shows the price

Sweet_Savior_3
Shopify Partner
1335 102 138

add important here:

 

.card__heading { opacity: 1 !important; }

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!
cureblame
Excursionist
35 0 4

it doesn't work above </head on theme.liquid . I tried, the code appears at the header

Sweet_Savior_3
Shopify Partner
1335 102 138

Can you share the screenshot of the code you added ?

Don't forget to like and accept the solution to help others store owners.
Looking for an expert or Have any queries ? Send query to the Inbox
Coffee Tip ? Pay to shopify.dev.34@gmail.com
From Less To Further !!!

Anshul_arora
Navigator
453 128 96

This is an accepted solution.

Hello @cureblame ,

Please add the code at the bottom of the theme.liquid file before </body> tag and save.

<style>
.card__heading {
opacity: 2 !important;
}
.card-information > .price {
display: block !important;
}
</style>


Anshul_arora_0-1713856753391.png

 

I hope it will work.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here
cureblame
Excursionist
35 0 4

Thanks, it worked but can you help me customize it and make it the text smaller

Anshul_arora
Navigator
453 128 96

Hello  @cureblame ,

I am glad the above-shared solution helps you.

Please add the below-mentioned for changing the font size.

[Place the code at the bottom of the theme.liquid file before </body> tag and save.]

<style>
.card__heading a {

font-size: 10px !important; /*This font-size will be applied on Product name */

}

.card-information .price {

font-size: 10px !important; /* This font-size will be applied on Product Price */

}

</style>

[Please feel free to change the px font size as per your requirements. ]

Anshul_arora_0-1713861168413.png


If it works as per your needs, please like & accept the solution.

Thank you.

Please remember to like and accept the solution to help other store owners.

For Shopify Design & Development | Custom Coding -Visit Here

Vinsinfo
Shopify Partner
424 143 142

@cureblame Please follow below steps to display product title and price. Let me know whether it is helpful for you.

 
1. From admin go to "Online stores" -> "Themes"
2. Click action button from the current theme and select "Edit code".
3. Search for "component-card.css" file and paste the below code at the bottom of the file.

 

.card__content .card__heading {
    opacity: 1 !important;
}
.card__content .card-information .price{
    display: block !important;
}

 

Vinsinfo_0-1713856875245.png

 

 

Result will be like,

Vinsinfo_1-1713856885686.pngVinsinfo_2-1713856903640.png

 

Please provide your support by click "Like" and "Accepted" if our solution works for you. Thanks for your support.
Please reach out to bizdev@vinsinfo.com for any enquires related to Shopify.
Our Services: Custom Theme Development, Theme Customization, Custom Feature Implementation, Data Migration, Custom APP Development, Website Optimization and Google Merchant Center Support