How to remove line of code being displayed under product title

How to remove line of code being displayed under product title

noam_erlenwein
Tourist
11 0 2

How do I remove a line of code displayed under the product title?

Please see the attached image.

https://bulkwrappingpaper.com/products/15-x-15-kraft-paper-ream-480-sheets-1 

Screen Shot 2022-12-08 at 9.39.10 am.png

Replies 4 (4)

KetanKumar
Shopify Partner
37596 3668 12156

@noam_erlenwein 

can you please try
1. Go to Online Store->Theme->Edit code
2. Asset->/theme.css ->paste below code at the bottom of the file.

span.stamped-product-reviews-badge.stamped-main-badge {
    display: none !important;
}

 

If helpful then please Like and Accept Solution. Partnership of your ️ Coffee Tips and my code can bring miracles.
Want to modify or custom changes on store Hire Me.
- Feel free to contact me on bamaniyaketan.sky@gmail.com regarding any help Shopify Partner | Skype : bamaniya.sky
PSD to Shopify | Shopify Design Changes | Shopify Custom Theme Development and Desing | Custom Modifications In to Shopify Theme | SEO & Digital Marketing

BSS-Commerce
Shopify Partner
3477 464 552

Hi @noam_erlenwein

 

This error occurs when the title product contains the special character " (double quotation), resulting in the logic of inserting that title into the HTML attribute element behind it not being recognized

You can temporarily hide that element by using the theme's style file, which is usually theme.css.liquid or base.css:

 

.stamped-product-reviews-badge[data-product-title] {
display: none !important;
}

 

The HTML structure is still malformed when hiding this section, so it may affect other logic. So please double-check the title. element 

 

view (30).png

 

I hope you will find it helpful!

If our suggestions are useful, please let us know by giving it a like, marking it as a solution, or donating here .


B2B Solution & Custom Pricing | Product Labels by BSS


Need help from our expert? Kindly share your request with us via community@bsscommerce.com


BSS Commerce - Full-service eCommerce Agency

GemPages
Shopify Partner
5625 1262 1279

Hello @noam_erlenwein ,

 

It's GemPages support team and glad to support you today.

 

I would like to give you the recommendation to support you so kindly follow the steps below:

 

1. Go to Online Store > Theme > Edit code of your current theme

GemPages_0-1670480755807.png


2. Open your theme.liquid theme file


3. Paste the below code before </head>

<style>
  .product-template__container .product-single .stamped-product-reviews-badge {
    display: none;
  }
</style>
 

For example,

GemPages_1-1670480755940.png

 

If you require any further information, feel free to contact me.

 

Best regards,
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center

GemPages
Shopify Partner
5625 1262 1279

Hello @noam_erlenwein 

 

I hope the above is useful to you.


Kind & Best regards, 
GemPages Support Team

GemPages - Build any high-converting store pages for any business


- If you find my reply helpful, please hit Like and Mark as Solution
- Get connected: App Store | Blog | Community | Help Center